Skip to content

IID Modules

星星沅圆 edited this page Mar 9, 2025 · 1 revision

XMap provides several IID modules, each with different strategies for generating the interface identifier. You can select an IID module using the -U or --iid-module option. The available IID modules can be listed using the --list-iid-modules option:

xmap --list-iid-modules

The output will show the available IID modules:

IID-modules:
full
low
low_fill
rand
set
zero

full

  • Functionality: Generates an IID with all bits set to 1.
  • Example2001:db8:1234:5678:FFFF:FFFF:FFFF:FFFF

low

  • Functionality: Generates a low IID, where the last bit is set to 1 and the rest are set to 0.
  • Example2001:db8:1234:5678::1

low_fill

  • Functionality: Generates a low-fill IID, where the last few bits are set to 1.
  • Example2001:db8:1234:5678::FFFF

rand

  • Functionality: Generates a random IID.
  • Example2001:db8:1234:5678:1783:ab42:9247:cb38

set

  • Functionality: Generates an IID based on a user-provided IPv6 address.
  • Example2001:db8:1234:5678::1
  • Use Case: This mode requires the user to specify an IPv6 address' suffix through the --iid-args parameter. XMap will extract the last 64 bits of the provided address as the IID. This is useful when you have a specific address or range of addresses to scan.

zero

  • Functionality: Generates an IID with all bits set to zero.
  • Example2001:db8:1234:5678::

Example

Scan with the set IID module and specify a set of IIDs:

xmap -U set --iid-args 2001:db8::1 2001:db8::/32

Clone this wiki locally