Spoofing
Spoofing is a device answering for something it is not. The classic form on a local network is ARP poisoning: a device tells its neighbors that it owns an address that belongs to another device, usually the gateway, and from then on receives the traffic meant for that address. It can read it, change it or just drop it. A rogue DHCP server does the same one layer up: it answers clients that ask for a network configuration and hands them a gateway and DNS servers of the attacker's choosing. IPv6 has its own versions of both: neighbor discovery (NDP) takes the place of ARP, and router advertisements and DHCPv6 hand out the network configuration. Name resolution poisoning is the same idea for the local name lookups (LLMNR, NBT-NS and mDNS) that clients fall back to when DNS has no answer: a device answers them for names that are not its own. DNS spoofing targets DNS itself: a device on the segment sees a client's query to its resolver and answers it first, with a forged reply that carries the resolver's address.
You can find spoofing findings on the Spoofing page under Ethernet in the sidebar of your Nzyme web interface. The ARP and NDP tab lists ARP poisoning and NDP spoofing findings, the DHCP and Routers tab lists findings about DHCP servers, DHCPv6 servers and IPv6 routers together with the servers and routers Nzyme has seen, the Name Resolution tab lists name resolution poisoning findings and the devices that answer name queries, the DNS tab lists DNS spoofing findings, the Exclusions tab holds the setups you have told Nzyme to ignore, and Settings has the detection parameters.
How Nzyme Detects ARP Poisoning
Every ARP packet carries a claim: the sender says that its protocol address belongs to its hardware address. That is true for requests, replies and gratuitous announcements alike. Nzyme records all ARP packets its taps see, and the node runs detection over them once a minute, per tenant, across all taps of the tenant.
Detection looks for addresses that two different MAC addresses claim at the same time:
- For every address, the MAC address that claimed it first over the owner lookback period is treated as the legitimate owner.
- Any other MAC address that claimed the same address inside the detection window is a spoofer candidate.
- A candidate becomes a finding when the owner was still claiming the address after the spoofer appeared, and when the spoofer claimed it at least the minimum claims number of times inside the window.
The overlap requirement in step 3 is what separates poisoning from an address that simply changed hands. When a DHCP lease expires and the address goes to another device, the old owner goes quiet before the new one appears, and no finding is raised. A poisoner, on the other hand, has to keep claiming the address while the real owner is still there, otherwise the victims' ARP caches would correct themselves.
A finding stays open and keeps collecting packets while the spoofer continues to claim the address within the detection window. Once it has been quiet for longer than the window, a later attack on the same address by the same device becomes a new finding.
What a Finding Records
| Field | Meaning |
|---|---|
| Address | The poisoned address. |
| Spoofer | The MAC address that claimed the address although it belongs to another device. |
| Owner | The MAC address that claimed the address first and kept claiming it. |
| Claims | How many ARP packets the spoofer sent claiming the address. |
| Replies | How many of those were ARP replies rather than requests or announcements. |
| Unsolicited replies | Replies that no device had asked for in the seconds before. Poisoning tools send these continuously. |
| Broadcast replies | Gratuitous replies sent to every device on the segment at once. |
| Victims | The devices that received the spoofer's replies. Their ARP cache may now point at the spoofer. |
The finding page also shows a timeline of who claimed the address over time, built from the retained ARP packets, and links to the raw ARP packets of the address.
Multiple Taps
Several taps often see the same ARP traffic. Their observations are merged, so a claim seen by three taps counts once. The taps that observed the spoofer are listed on the finding.
IPv6 Addresses and NDP
IPv6 has no ARP. A device finds the MAC address of a neighbor with the Neighbor Discovery Protocol (NDP), and NDP can be abused the same way: a device sends neighbor advertisements that claim an address of another device. Nzyme runs the same detection over the NDP messages its taps record, with the same settings, and lists the findings on the same tab.
What counts as a claim differs slightly from ARP:
- A neighbor advertisement claims its target address for the MAC address it names. Every other NDP message claims the address it was sent from.
- A neighbor solicitation from the unspecified address
::is duplicate address detection. The sender does not have the address yet, so it claims nothing. - Messages that did not arrive with a hop limit of 255 are ignored. Hosts discard them as well, because they were sent from outside the link.
- A link-local address (
fe80::/10) is only unique on its link. Claims of a link-local address are only compared within one tap, and a finding about one belongs to that tap.
A finding about an IPv6 address records the same fields under the names of NDP: Neighbor Advertisements instead of replies, Unsolicited Advertisements for advertisements that no device had asked for, and Advertisements to All Nodes for advertisements sent to every device on the link at once. An advertisement only counts as asked for if it says so and the receiver solicited the address shortly before. At most 500 conflicting NDP claims are judged per detection run. More than that is a flood of forged advertisements, and the node log says so.
Several VLANs on one tap
Routers often use the same link-local address, like fe80::1, on every VLAN. A tap that sees several VLANs
then records that address with a different MAC address per VLAN, which raises a finding. Add an
exclusion for the address.
Working With ARP Findings
The ARP and NDP tab lists the findings of the selected tenant that were active at any point in the selected time range, with the address, spoofer, owner, claim counts, victims and when they were first and last seen. The Active ARP and NDP Spoofing chart shows how many findings were going on over time in the same range. The time range and the filters apply to the list and the chart alike. The list and its filters work like every other Ethernet search page, and the small filter icons next to values add that value to the filters. The short, copyable ID at the start of each row links to the finding's details page and is a stable link you can share. Findings that match an exclusion are marked as excluded and are no longer updated.
When a finding is real, the devices to look at are the victims: their traffic for the address goes to the spoofer first. Clear their ARP caches once the spoofer is off the network. For an IPv6 address it is the neighbor cache, which hosts correct on their own shortly after the forged advertisements stop.
A man-in-the-middle attack between a host and the gateway poisons both directions and shows up as two findings: one for the gateway address with the host as victim, and one for the host address with the gateway as victim. The device a tool calls its "target" is therefore the victim of one finding and the poisoned address of the other.
How Nzyme Detects DHCP Spoofing
DHCP has no authentication. A client that needs an address broadcasts a request to the whole segment, and any device on the segment can answer. Most clients take the first offer they get. The offer does not only carry an address: it also tells the client which gateway to use, which DNS servers to ask and which domain it is in. A rogue DHCP server that hands out the attacker's own address as gateway or DNS server therefore puts itself in the middle of the client's traffic without touching ARP at all, and the client has no way to tell. An attacker can also forge replies that carry the addresses of the real server, which is DHCP spoofing in the narrow sense. Both forms end with clients using a configuration they should not.
Nzyme's taps record every DHCP transaction they see, including every offer and acknowledgement a server sends and the configuration in it: subnet mask, gateways (option 3), DNS servers (option 6), domain name (option 15), lease time (option 51) and the server identifier (option 54). The node runs detection over the transactions once a minute, per tenant, across all taps of the tenant. A transaction is analyzed a few minutes after its last packet, once it has settled and all taps have reported it.
Detection keeps a list of DHCP servers. A server is identified by its MAC address and IP address. Every server that answers a client is learned, together with the configuration it hands out. Whether a server is trusted decides what its answers mean:
- Servers that answer during the learning period after the first server of the tenant was seen are trusted automatically. DHCPv6 servers and IPv6 routers have learning periods of their own. On a fresh installation this trusts the servers that are already there. A learning period of zero trusts nothing until a user does. A user can end the learning period early or restart it at any time.
- A server that answers clients while it is not trusted is a rogue server finding. A redundant server that was switched on after the learning period, or a replaced server with a new MAC address, shows up this way too. Trust it on the DHCP tab and the finding is resolved.
- A trusted server has a baseline: the configuration it is expected to hand out. It is taken when the server is trusted, and it follows what the server hands out for as long as the learning period of its protocol runs. After that, a trusted server that hands out a different gateway, DNS server, domain name or subnet mask is a configuration changed finding. The order of gateways and DNS servers and the lease time are ignored, because servers rotate the order for load balancing and lease times vary per pool. This is also what catches forged replies that carry the real server's addresses. After an intended change, accept the new configuration on the DHCP tab.
A finding stays open and keeps collecting transactions while the server continues to answer within the detection window. Once it has been quiet for longer than the window, later answers become a new finding.
IPv6 Routers
On an IPv6 network, hosts get their configuration from routers. A router sends router advertisements to every host
of the link, and a host that accepts one forms addresses from the advertised prefixes, uses the router as its
default router and uses the DNS servers the advertisement names. Like DHCP, this has no authentication. A device
that sends its own router advertisements becomes the gateway of the hosts around it. This also works on networks
that only use IPv4, because most operating systems have IPv6 turned on and prefer it. Tools like mitm6 and
fake_router6 do exactly this.
Nzyme records every router advertisement its taps see and judges routers the way it judges DHCP servers:
- A router is identified by the MAC address its advertisements name and the address they are sent from.
- The configuration of a router is what it advertises: its prefixes, how hosts get their addresses (stateless autoconfiguration, DHCPv6 or both), its preference and whether it offers itself as a default router, its DNS servers and its DNS search list.
- A router that advertises while it is not trusted is a rogue server finding. A trusted router that advertises a configuration different from its baseline is a configuration changed finding. A router that announces a lifetime of zero, which takes it out of service as a default router, differs from its baseline too.
- Advertisements that did not arrive with a hop limit of 255 are ignored. Hosts discard them as well.
A router advertisement goes to every host of the link, so a router finding has no list of victims. The Protocol column of findings and servers says Router Advertisement for routers.
The prefixes of trusted routers can also be treated as internal networks. See Internal Addresses.
DHCPv6 Servers
DHCPv6 hands out addresses, delegated prefixes, DNS servers and search domains, but no gateway and no subnet mask. Those come from router advertisements. A rogue DHCPv6 server therefore attacks name resolution: it hands out its own address as DNS server.
DHCPv6 servers are learned and judged like DHCP servers, from the DHCPv6 transactions the taps record. An advertise message counts as an offer and a reply as an acknowledgement. The baseline of a DHCPv6 server holds its DNS servers and its search domains. A server identifies itself with a DUID, which is shown as its server identifier. The Protocol column says DHCPv6.
A router and a DHCPv6 server are often the same device, with the same MAC address and the same link-local address. They are still listed, trusted and judged separately, one entry per protocol.
Learning Periods
DHCP, DHCPv6 and router advertisements each have their own learning period of the configured length:
| Protocol | The learning period starts |
|---|---|
| DHCP | When the first DHCP server of the tenant is seen. |
| DHCPv6 | With the first detection run of the tenant that looks for DHCPv6 servers and routers. |
| Router advertisements | At the same time as DHCPv6. |
The learning period of DHCPv6 and router advertisements does not wait for the first server or router. On a network that does not use IPv6, the first router that ever shows up is most likely an attacker, and it must not be trusted for being first. On a network that does use IPv6, routers advertise every few minutes and are learned within the first minutes of the period.
A learning period does two things. Servers and routers that are seen during it are trusted, and what a trusted server or router hands out during it becomes its baseline. The second part is needed because a server only sends the options a client asks for: its first answer may carry a gateway and DNS servers but no domain name, and the domain name only shows up when a client that asks for it gets a lease. During the learning period, an option that is seen for the first time is added to the baseline, and a changed value replaces the one learned before. No configuration changed findings are raised for the protocol in that time. This applies to every trusted server and router, including those a user trusted.
Once the learning period is over, baselines only change when a user accepts a configuration. An option that no client received during the learning period is a configuration change when a server hands it out later.
Ending or restarting the learning period applies to all three protocols.
Limits
A flood of forged answers or advertisements from made-up addresses would make every one of them a server of its own. Nzyme limits this per protocol:
| Limit | Value | What happens beyond it |
|---|---|---|
| New servers or routers per detection run | 50 | The rest is recorded when it answers or advertises again. |
| Untrusted servers or routers that are kept | 200 | New untrusted ones are not recorded and raise no finding. |
| Servers or routers trusted by a learning period | 250 | Further ones are recorded as untrusted. |
The DHCP Servers and IPv6 Routers card says when a protocol has reached its limit of untrusted entries. Trust or forget entries to make room. A list that filled up on its own is the sign of a flood.
What a Finding Records
| Field | Meaning |
|---|---|
| Type | Rogue server or configuration changed. |
| Protocol | DHCP, DHCPv6 or Router Advertisement. |
| Server | The MAC address and IP address of the server. The server identifier (option 54) is shown when it differs from the IP address, which happens behind a DHCP relay. |
| Handed out | The configuration the server handed out: gateway, DNS servers, domain name, subnet mask and lease time. For a router: prefixes, address configuration and role, DNS servers and search list. |
| Expected | For configuration changed findings, the baseline of the server. Differing values are highlighted. |
| Responses | How many offers and acknowledgements the server sent. |
| Transactions | How many DHCP transactions the server answered. |
| Victims | The clients that accepted a lease from the server or chose its offer, with the address they were assigned. A client that received an offer but went with another server is not a victim. Router findings have no victims. |
The finding page links to the raw DHCP transactions of the server, or to the router advertisements of a router. Each transaction page also lists every server that answered it and what it handed out, under Server Responses.
Multiple Taps
Several taps often see the same DHCP traffic. A transaction recorded by several taps is merged before it is analyzed, so a server that answered once counts once. Router advertisements that several taps recorded are counted once as well. The taps that observed the server are listed on the server and on the finding.
Working With DHCP Findings
The DHCP and Routers tab lists the findings of the selected tenant that were active at any point in the selected time range, and the Active DHCP and Router Spoofing chart shows how many were going on over time. Below them, the DHCP Servers and IPv6 Routers card lists every DHCP server, DHCPv6 server and IPv6 router Nzyme has seen, regardless of time range, with its trust status, what it hands out and, for trusted servers whose current configuration differs from the baseline, what it is expected to hand out. Users with the Manage Ethernet Monitoring permission can trust and untrust servers, accept a server's current configuration as its new baseline, and forget a server. A forgotten server is learned again when it next answers, and trusted only if that still falls inside the learning period.
The card also shows whether a learning period is still active, for which protocols, and when it ends. Users with the Manage Ethernet Monitoring permission can end it early, which is the right thing to do once every server you expect is listed with the configuration you expect: the configured learning period is a maximum, and on most networks all servers have answered long before it is over. Every minute of learning after that is time in which a rogue server would be trusted silently, and in which forged replies in the name of a trusted server would become its baseline. The same users can restart the learning period, which starts a new one now: every server that answers clients during the configured number of hours from then on is trusted automatically, including servers that are known but not trusted. Trusted servers and existing findings are kept, and the baselines of trusted servers follow what they hand out again. This is the easy way to handle a replaced or newly added server, a changed server configuration, or a migration to new addresses, but only restart the learning period when you are sure that no rogue server is active at that moment, because it would be trusted along with the legitimate ones.
When a rogue server finding is real, find the device: the MAC address tells you the vendor, the asset page tells you where it was seen. Consumer routers and access points with their DHCP server left on are a common cause. The victims are the clients to check; renewing their lease once the rogue server is gone gives them the right configuration back.
A rogue router finding is often not an attack either. Phones with tethering, Windows Internet Connection Sharing and virtualization hosts advertise themselves as routers. They are still worth removing, because the hosts around them follow their advertisements. When the finding is real, every host of the link is affected. Hosts drop the configuration of a router when its lifetime runs out, which takes up to the advertised lifetime after the rogue router is gone.
A configuration changed finding about a router after your internet provider assigned a new prefix is expected. Accept the new configuration.
How Nzyme Detects Name Resolution Poisoning
LLMNR (UDP 5355), NBT-NS (UDP 137) and mDNS (UDP 5353) are local name lookups without authentication: a client asks the whole segment for a name and takes the first answer. A legitimate device only answers for its own name. A poisoner answers for whatever is asked and points the name at itself, so that the asking client connects to it.
Nzyme's taps record every LLMNR, NBT-NS and mDNS answer that carries an address, together with the responder, the name, the addresses in the answer and the clients that asked for the name. The node runs detection over these answers once a minute, per tenant, across all taps of the tenant, looking at the detection window:
- For every responder, Nzyme counts the distinct names it answered with one of its own addresses, per protocol. A responder above the names threshold of a protocol is a finding.
- A responder whose answers all point at the same one or two addresses is treated the same way, which covers a poisoner that hands out the address of another machine.
mDNS has a higher default threshold than LLMNR and NBT-NS, because mDNS reflectors and devices with several service names are common. Reflectors repeat the answers of many devices with many different addresses and stay below both rules.
A finding stays open and keeps collecting answers while the responder continues to answer within the detection window. Once it has been quiet for longer than the window, later answers become a new finding.
What a Finding Records
| Field | Meaning |
|---|---|
| Responder | The MAC address of the device that answered, and the addresses it answered from. |
| Protocols | Which of LLMNR, NBT-NS and mDNS it answered over. |
| Names | The names it answered for, up to 500. |
| Responses | How many answers it sent, and how many of those went to a single client instead of the whole segment. |
| Victims | The clients that received its answers, with the names they looked up. |
The finding page links to the DNS logs of the responder, which hold the raw LLMNR and mDNS answers because both share the DNS format. NBT-NS answers are not in the DNS logs.
Multiple Taps
Several taps often see the same answers. Names and victims are merged, and for the counts the tap that saw the most of a name wins, so an answer seen by three taps counts once. The taps that observed the responder are listed on the finding.
Working With Name Resolution Findings
The Name Resolution tab lists the findings of the selected tenant that were active at any point in the selected time range, and the Active Name Resolution Poisoning chart shows how many were going on over time. Below them, the Responders card lists every device that answered name queries in the time range, most suspicious first, with how many different names it answered and how many of those it pointed at its own address. A legitimate device has one or two self-pointing names. This card cannot look further back than the response retention time configured on the Settings tab, which is one day by default.
When a finding is real, find the device and check the victims: they connected, or tried to connect, to the responder believing it is the host they looked for. Windows clients authenticate to a file or web server they just resolved, so treat the credentials of the users on those clients as exposed. The lasting fix is to disable LLMNR and NBT-NS through group policy, which most Windows networks have not done.
How Nzyme Detects DNS Spoofing
A client sends its DNS query to a resolver and accepts the first reply that matches the query's transaction ID, port and question. A device on the same segment that sees the query knows all three and can send a forged reply, with the resolver's address as source and an address of its own choosing as answer, before the real reply arrives. The real reply arrives a few milliseconds later and is discarded as a duplicate. Nothing is broken on the wire, which is why the attack is quiet, and why a tap on the segment is the right place to catch it: it sees both replies, and it sees the MAC address each one actually came from.
Nzyme's taps record every DNS query and reply, including replies without an answer, together with the MAC address of the sender. The node runs detection over the replies once a minute, per tenant, across all taps of the tenant:
- For every resolver address, the MAC address that delivered its replies first over the owner lookback period is treated as the legitimate owner on that tap. That is the resolver itself when it is on the segment, or the gateway in front of it when it is not.
- A reply with the resolver's address from any other MAC address inside the detection window is a forged reply, and the device that sent it is a spoofer candidate.
- A candidate becomes a finding when the owner was still delivering replies after the spoofer appeared, and when the spoofer sent at least the minimum forged replies inside the window.
The owner is learned per tap, so two sites that reach the same public resolver through different gateways do not conflict with each other. The overlap requirement in step 3 is what separates spoofing from a replaced resolver or gateway: after a replacement, the old device goes quiet before the new one appears, and no finding is raised.
For every forged reply, Nzyme looks for the owner's reply to the same query. If the owner's reply came later, the spoofer won the race and the client most likely used the forged reply. If it came earlier, the spoofer lost. If no tap saw an owner reply at all, the query is unanswered by the owner and the client used the forged reply as well. The owner's reply is looked for within five seconds of the forged reply, and replies are only judged thirty seconds after they arrived so that every tap has had the chance to report them. Races are only judged on replies that the same tap saw, because clocks differ between taps.
A finding stays open and keeps collecting replies while the spoofer continues to forge replies within the detection window. Once it has been quiet for longer than the window, a later attack on the same resolver by the same device becomes a new finding.
What a Finding Records
| Field | Meaning |
|---|---|
| Resolver | The DNS server address the forged replies claimed to come from. |
| Spoofer | The MAC address the forged replies actually came from. |
| Owner | The MAC address the resolver's replies normally come from. |
| Forged replies | How many replies the spoofer sent with the resolver's address. |
| Races | How many forged replies arrived before the owner's reply, after it, or were never answered by the owner. |
| Names | The names the spoofer answered for, up to 500, taken from the queries the taps saw. |
| Answers | The addresses the spoofer pointed the names at, up to 50. Usually the spoofer's own address. |
| Victims | The clients that received forged replies, with the names they looked up and how many forged replies likely reached them first. |
The finding page links to the DNS logs of the queries sent to the resolver. Expanding a query there shows every reply it got, with the MAC address each one came from and its response code, which is the raw evidence of the race.
Multiple Taps
Several taps often see the same replies. Replies are merged by client, port and transaction, so a reply seen by three taps counts once. A race counts as won when any tap saw the owner answer later, and as unanswered when no tap saw the owner answer at all. The taps that observed the spoofer are listed on the finding.
Working With DNS Findings
The DNS tab lists the findings of the selected tenant that were active at any point in the selected time range, with the resolver, spoofer, owner, forged reply and race counts, names, victims and when they were first and last seen. The Active DNS Spoofing chart shows how many findings were going on over time in the same range. The time range and the filters apply to the list and the chart alike. The list and its filters work like every other Ethernet search page, and the small filter icons next to values add that value to the filters. The short, copyable ID at the start of each row links to the finding's details page and is a stable link you can share. Findings that match an exclusion are marked as excluded and are no longer updated.
When a finding is real, the names and answers tell you what the attacker was after: a few names of interest pointed at one address is a targeted redirect, usually to a login page or an update server under the attacker's control. The victims are the clients to check, and the names they looked up are the services they were redirected from. Treat credentials entered on those services from those clients as exposed.
DNS spoofing on a segment is a step, not a goal. The spoofer often holds a man-in-the-middle position already, through ARP poisoning or a rogue DHCP server, so check the ARP and DHCP tabs for the same device.
Exclusions
Some setups legitimately have an address answered by more than one MAC address at a time:
- Router redundancy protocols like VRRP, HSRP and CARP, when both the virtual MAC address and a router's own MAC address answer for the shared address.
- Failover clusters and load balancers that take over an address on purpose.
- Virtual machine or container migration, while the old host still answers for a moment.
For DHCP, a lab or guest network with its own DHCP servers or routers that a tap can see is the usual reason for an exclusion. A DHCP exclusion covers DHCP servers, DHCPv6 servers and IPv6 routers alike. Trusting the server is the better choice for a single legitimate server, because a trusted server is still watched for configuration changes while an excluded one is not.
For name resolution, a server that legitimately carries several hostnames, or a virtualization host that answers for its guests, is the usual reason. Raising the names threshold of the protocol is the alternative when the device is not the only one.
For DNS, the reasons are the ones that deliver a resolver's replies from more than one MAC address on purpose: router redundancy in front of the resolver, a load balancer with direct server return, or a split DNS setup where two devices answer from the same address on the same segment.
An exclusion is a set of criteria: the spoofing type, an address or network and a MAC address. Every criterion that is set must match. For ARP poisoning and NDP spoofing, the address is the claimed address and the MAC address is the device doing the claiming. For DHCP spoofing, both belong to the server or router. For name resolution poisoning, the MAC address is the responder and the address matches any address the responder answered from. For DNS spoofing, the address is the impersonated resolver and the MAC address is the device forging its replies. 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 exclusion page shows them and can delete them.
Use Exclude on a finding page to create an exclusion that is pre-filled from that finding.
Alerts
Spoofing detection can raise the following detection alerts. All of them are disabled by default and are enabled in the configuration:
| Type | Raised when |
|---|---|
SPOOFING_ARP_NEW |
A new ARP poisoning finding is detected. |
SPOOFING_NDP_NEW |
A new NDP spoofing finding is detected. |
SPOOFING_DHCP_ROGUE_SERVER |
An untrusted DHCP or DHCPv6 server answered clients. |
SPOOFING_DHCP_PARAMETERS_CHANGED |
A trusted DHCP or DHCPv6 server handed out a configuration that differs from its baseline. |
SPOOFING_RA_ROGUE_ROUTER |
An untrusted IPv6 router sent router advertisements. |
SPOOFING_RA_PARAMETERS_CHANGED |
A trusted IPv6 router advertised a configuration that differs from its baseline. |
SPOOFING_NAME_RESOLUTION_POISONING |
A new name resolution poisoning finding is detected. |
SPOOFING_DNS_NEW |
A new DNS spoofing finding is detected. |
All of them are raised once per finding, not again while it continues. A finding that is later recorded at another location raises an alert there. The ARP and NDP alerts carry the address, the spoofer, the owner and the counts at the time of the alert. The DHCP alerts carry the server, the gateway and DNS servers it handed out and, for changed configurations, the expected ones. The router alerts carry the router, the prefixes, flags and DNS servers it advertised and, for changed configurations, the expected ones. The name resolution alert carries the responder, its addresses, the protocols, a sample of the names and the counts. The DNS alert carries the resolver, the spoofer, the owner, a sample of the names and answers and the counts. All link to the finding.
Configuration
Users with the Manage Ethernet Monitoring permission can change the detection parameters on the Settings tab. The page has one section per detection type, each with its detection parameters, its alerting setting and a button to delete all findings of that type. Learned servers and routers, exclusions and the settings are kept when findings are deleted.
ARP and NDP Spoofing
The settings apply to ARP poisoning and NDP spoofing alike.
| Key | Default | Description |
|---|---|---|
| Detection enabled | true | Run ARP poisoning and NDP spoofing detection for the tenant. |
| Detection window (Minutes) | 10 | Both devices must have claimed the address inside this window. Between 1 and 1440. |
| Address owner lookback (Hours) | 24 | How far back to look for the first claim of an address when deciding who owns it. Between 1 and 720. |
| Minimum claims in window | 3 | How often the spoofer must have claimed the address inside the window. Keeps single stray packets out. |
| Finding retention time (Days) | 365 | How long findings and their victims are kept. |
| Alert on new ARP poisoning or NDP spoofing finding | false | Raise SPOOFING_ARP_NEW and SPOOFING_NDP_NEW alerts. |
DHCP and Router Spoofing
The settings apply to DHCP servers, DHCPv6 servers and IPv6 routers alike.
| Key | Default | Description |
|---|---|---|
| Detection enabled | true | Run detection of rogue and changed DHCP servers, DHCPv6 servers and IPv6 routers for the tenant. |
| Server and router learning period (Hours) | 24 | Servers and routers seen within this time after the learning period of their protocol started are trusted automatically, and what trusted ones hand out in that time becomes their baseline. Zero trusts and learns nothing automatically. Between 0 and 720. |
| Detection window (Minutes) | 60 | A finding stays open while the server keeps answering inside this window. Between 1 and 1440. |
| Finding retention time (Days) | 365 | How long findings, their victims and untrusted servers that have not answered are kept. Trusted servers are kept until forgotten. |
| Alert on rogue DHCP server or IPv6 router | false | Raise SPOOFING_DHCP_ROGUE_SERVER and SPOOFING_RA_ROGUE_ROUTER alerts. |
| Alert on changed DHCP or router configuration | false | Raise SPOOFING_DHCP_PARAMETERS_CHANGED and SPOOFING_RA_PARAMETERS_CHANGED alerts. |
Name Resolution Poisoning
| Key | Default | Description |
|---|---|---|
| Detection enabled | true | Run name resolution poisoning detection for the tenant. |
| Detection window (Minutes) | 15 | Names are counted inside this window, and a finding stays open while the responder keeps answering inside it. Between 1 and 1440. |
| LLMNR names threshold | 3 | How many different names a responder must have answered over LLMNR to become a finding. |
| NBT-NS names threshold | 3 | The same for NBT-NS. |
| mDNS names threshold | 5 | The same for mDNS. Higher because reflectors and multi-name devices are common. |
| Finding retention time (Days) | 365 | How long findings and their victims are kept. |
| Response retention time (Days) | 1 | How long the raw answers behind the Responders card are kept. Detection never needs more than one day. |
| Alert on name resolution poisoning | false | Raise SPOOFING_NAME_RESOLUTION_POISONING alerts. |
DNS Spoofing
| Key | Default | Description |
|---|---|---|
| Detection enabled | true | Run DNS spoofing detection for the tenant. |
| Detection window (Minutes) | 10 | Forged replies are counted inside this window, and a finding stays open while the spoofer keeps forging inside it. Between 1 and 1440. |
| Resolver owner lookback (Hours) | 24 | How far back to look for the first reply from a resolver address when deciding which MAC address owns it. Between 1 and 720. |
| Minimum forged replies in window | 3 | How many forged replies the spoofer must have sent inside the window. Keeps single stray packets out. |
| Finding retention time (Days) | 365 | How long findings and their victims are kept. |
| Alert on new DNS spoofing finding | false | Raise SPOOFING_DNS_NEW alerts. |
Retention
Findings and their victims follow the finding retention time configured above and are removed at the start of a detection run once they have not been seen for that long. ARP detection reads the ARP packets that Nzyme stores for the tenant, so the owner lookback cannot reach further back than those are retained, and the claim timeline on a finding page only covers the retained packets. The same applies to NDP messages for IPv6 addresses. DHCP detection reads the DHCP and DHCPv6 transactions and the router advertisements, so the links from a finding to its raw transactions or advertisements only work while those are retained. Untrusted servers and routers that have not answered for the retention time are forgotten; trusted ones are kept until a user forgets them. The raw name resolution answers that the Responders card and detection work on follow the response retention time. Detection only looks back as far as its window, so a longer response retention time only extends what the card can show. DNS spoofing detection reads the DNS transactions, so the owner lookback cannot reach further back than those are retained, and the links from a finding to the raw replies only work while they are. See Configuring Retention Times for how to change retention times.