Skip to content
Network / NIC / MAC
Evidence grades
C Confirmed first hand
confirmed first hand by a named user with hardware and procedure details.
A Verified against a cited source
verified against a cited specification, vendor document, Microsoft document, or repository source.
CC Multiple community reports
supported by multiple independent community reports.
S Single claim or unverified procedure
a single claim or a procedure that has not been independently verified.

MAC Address Spoofing Guide ​

NOTE

TL;DR: Changes the MAC address your network presents. A Windows NetworkAddress override is software-only and reversible; writing the controller's EEPROM, flash, OTP, or eFuse is permanent. Who reads it: the local network, DHCP servers, any fingerprinting stack that enumerates adapters, and anti-cheats that log NIC identity. Recommended: a Realtek RTL8159 USB 10GbE adapter (tested: Lekuo DR59R11) with this project's rtl8159-flasher. One exe, no driver install, changes the MAC and the USB serial. Status: the RTL8159 flasher (including a write by the app itself) and the ConnectX-3 procedure were tested on real hardware C. The Intel, Realtek onboard, and ASIX procedures are community-tested or untested S unless marked. Risk: an eFuse or OTP write is one-time. A wrong write can break the adapter. System requirements: Windows 10/11 for the Windows methods; DOS boot for Intel onboard NICs.

A software MAC override and a hardware-programmed MAC are not the same thing. EEPROM and flash may be rewritable. eFuse or OTP storage is one-time programmable. Back up every readable value before writing, but do not assume that a backup can undo an eFuse write.

Evidence grades appear inline. See How to read these guides.

Quick Navigation ​

CategoryNICSpeedDifficultyMethod
RecommendedRealtek RTL8159 USB (Lekuo DR59R11)10 GbEEasy - one exe, no driver install; MAC and USB serialThis project's rtl8159-flasher
ReferenceCurrent and permanent MAC addressesN/ARead before choosing a methodMicrosoft NDIS documentation
WindowsSoftware-only overrideAny supported speedEasy and reversible, but driver support variesSet-NetAdapter / NetworkAddress
SystemIntel NICs1 GbEHard - requires DOS boot, BIOS changes; may fail on some chipsetsEEUPDATE via DOS boot USB
System/PCIeRealtek NICs1-2.5 GbEMedium - tools are trial-and-error; depends on chipseteFuse Programmer
USBUSB NICs overview1-10 GbEDepends on controller, board revision, and storageController-matched vendor tool
USBRealtek USB NICs2.5 GbEEasy - plug in, run tool, doneRealtek USB PG Tool
USBTP-Link UE3001 GbEMedium - controller is known, storage implementation still must be identifiedRealtek USB PG Tool
USBASIX AX881791 GbEEasy - widely available, simple toolASIXFlash / Captain Mac Tool
PCIeMellanox ConnectX-310 GbEEasy spoof, harder sourcing - commands are simple but finding the right card takes researchWinMFT flint (firmware flash)
ReferenceController storageN/ARead before any hardware writeVendor documentation
ReferenceVerification checklistN/AReadback in several viewsHWIDChecker / PowerShell / getmac
ReferenceSourcesN/APrimary sources and evidence provenanceMicrosoft / IEEE / vendors

Current MAC, Permanent MAC, and Burned-In Storage ​

Windows NDIS exposes a current MAC address and a permanent MAC address as separate adapter attributes. A driver may replace the current address with a software-configured value while the device's non-volatile storage remains unchanged. A

  • A NetworkAddress override changes the address presented by the Windows driver. It does not rewrite the NIC's EEPROM, flash, or eFuse. A
  • A vendor programming utility can change the address loaded from device storage. Whether that write is reversible depends on the actual storage fitted or enabled on that board. A
  • Get-NetAdapter, getmac, ipconfig /all, and ordinary WMI queries report the active Windows address. They do not prove that the burned-in value changed. A
Compare the scopeStorage and two Windows attributes
  • Device storage

    EEPROM, flash or eFuse; board-specific.

  • Permanent MAC

    Driver-visible permanent attribute; may be unavailable.

  • Current MAC

    Active Windows address; NetworkAddress can override it.

A Windows override can survive reboot without rewriting device storage. Driver readbacks do not prove a firmware write. Permanent MAC: Unavailable remains a possible result; a controller name alone does not identify the storage used on a finished adapter.

Realtek and ASIX controller families support more than one storage design. A controller name alone does not identify the storage used on a finished adapter. See Controller Storage: eFuse, EEPROM, or Flash. A

Windows NetworkAddress Override (Software Only) ​

Microsoft documents NetworkAddress as the registry value used by NDIS drivers that support software-configurable addressing. Set-NetAdapter -MacAddress sets the current address and saves it to the network-address property without dashes. Not every adapter or driver supports this. A

This is non-persistent at the hardware level, but it is not necessarily session-only. The Windows setting can survive reboot until it is reset or removed. A

WARNING

This operation briefly restarts the adapter and can disconnect remote sessions. A duplicate or invalid MAC can also break network access. Record the adapter name, current address, and advanced-property values first.

Status: documented Windows mechanism. A

  1. Open PowerShell as Administrator and identify the target physical adapter:

    powershell
    Get-NetAdapter -Physical | Format-Table Name, InterfaceDescription, MacAddress, Status
  2. Record the current address and any existing NetworkAddress property:

    powershell
    Get-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword "NetworkAddress" -AllProperties

    If no row is returned, the property may not exist yet or the driver may not expose it.

  3. Set a fabricated address. This example keeps Realtek's 00:E0:4C OUI and changes the device-specific bytes:

    powershell
    Set-NetAdapter -Name "Ethernet" -MacAddress "00-E0-4C-5A-71-2D"
  4. Verify the active address with the commands in the verification checklist.

  5. To return an exposed advanced property to its factory default, first obtain its exact DisplayName, then reset that property:

    powershell
    Get-NetAdapterAdvancedProperty -Name "Ethernet" -AllProperties |
      Where-Object RegistryKeyword -eq "NetworkAddress" |
      Format-List Name, DisplayName, RegistryKeyword, RegistryValue
    
    Reset-NetAdapterAdvancedProperty -Name "Ethernet" -DisplayName "Network Address"

    The display name is driver-defined and can be localized. Use the value returned on your system instead of assuming that it is exactly Network Address.

NOTE

IEEE addressing defines universal/local and individual/group bits. A locally administered unicast address sets the local bit and clears the group bit. This guide's software example instead preserves a real vendor OUI to follow the project's example-address rule. In either case, the address must be unicast and unique on the local network. A

Intel NICs ​

Status: untested as a general procedure. S Intel release notes confirm EEUPDATE can program MAC data on specific controllers, but they also document controller-specific failures, locked fields, checksum errors, and version-dependent behavior. Do not infer support from the Intel brand alone.

Prerequisites ​

For Intel network cards, you can use the EEUPDATE utility through a DOS bootable USB.

Intel Tool Caveats and Backup ​

  • Run EEUPDATE /LIST_NIC before using /NIC=1. Adapter numbering can change when cards are added, removed, enabled, or disabled. S
  • Save the original MAC and the complete output of EEUPDATE /MAC_DUMP before any write. Keep that record off the boot USB as well. S
  • Intel documents that some multi-port adapters share one EEPROM/flash and that its NVM Update Tool updates only port 0, or the port selected by MAC. Treat port selection and shared-storage behavior as controller- and tool-specific. A
  • Tool version matters. Intel release notes document an I210 MAC-programming checksum failure in EEUPDATE 5.39.56.8 and later that was fixed in a subsequent release. A
  • Some Intel device-ID and MAC fields can be locked. If the utility reports a lock, unsupported controller, checksum failure, or NVM error, stop. Do not try random older binaries or force flags. A
  • Treat a successful command as incomplete until you power-cycle and compare the device readback with Windows' current address. S

Setup Steps ​

  1. Create a bootable DOS USB:

    • Download Rufus (https://rufus.ie)
    • Insert your USB drive
    • Select "MS-DOS" as the boot selection
    • Create the bootable drive
  2. Prepare files:

    • Copy EEUPDATE.exe to your bootable USB
    • Create changemac.bat with the following content:
batch
@echo Off
echo Update your current mac?
pause
echo Current MAC
Eeupdate.exe /NIC=1 /MAC_DUMP
echo Updating MAC
Eeupdate.exe /NIC=1 /mac=REPLACEMEWITHMAC
echo Updated MAC
Eeupdate.exe /NIC=1 /MAC_DUMP
echo If the above did not work type the following manually:
echo EEUPDATE /NIC=1 /mac=REPLACEMEWITHMAC
echo EEUPDATE /NIC=1 /MAC_DUMP
echo Last command will display the current MAC(if it worked, should display new one)
pause
  • Example MAC: AA:BB:CC:DD:EE:11
    • Do not use this MAC, it will brick your network...
  1. BIOS setup:
    • Enter BIOS (usually F2 or Delete key during startup)
    • Disable Secure Boot
    • Enable CSM (Compatibility Support Module) mode
    • Save changes and restart

Running the Script ​

  1. Boot from USB:

    • Insert the USB drive
    • Boot into DOS (may require selecting boot device during startup)
    • At the DOS prompt (A:> or similar)
    • Type the first few letters of "changemac" and press TAB
      • In DOS, TAB will auto-complete the filename
      • Press Enter to run the script
    • Follow the prompts
  2. Manual commands (if the script fails):

    dos
    EEUPDATE /NIC=1 /mac=AABBCCDDEE11
    EEUPDATE /NIC=1 /MAC_DUMP
  3. After completion:

    • Remove the USB drive
    • Restart the system
    • Boot back into Windows to verify the change
    • Revert your Secure Boot and CSM settings.

Important Notes ​

  • Replace AABBCCDDEE11 with your desired MAC address
  • Keep your original MAC address noted down
  • The /NIC=1 parameter targets the first network adapter
    • If you have multiple, make sure either to change both or disable the one you don't need/use.
    • EEUPDATE /LIST_NIC will list the NICs installed.
  • Some systems may require specific versions of EEUPDATE
  • Not all Intel NICs support MAC address modification
  • Incorrect MAC address format can cause network issues

Realtek NICs ​

Status: untested as a general procedure. S The utility supports several controller families and storage modes, but a matching family name does not prove that the supplied configuration file fits your exact silicon and board.

The configuration file must match the exact NIC. No cited Realtek document establishes a dry-run selection workflow. Treat 8168FEF.CFG and the supplied batch file as model-specific unless the utility identifies them as compatible. S

Realtek documents both embedded OTP storage and external serial EEPROM support on controllers such as RTL8125BG. OTP is one-time programmable. EEPROM is normally rewritable. Confirm the utility's selected mode before running WINPG64.BAT. A

The sample utility output reports EFuse Remain. Treat that as a one-time-capacity warning, not proof that the change can be undone. Before programming, capture the controller PCI hardware ID, current NODEID, storage mode, full utility output, and any available dump. S

Prerequisites ​

For Realtek network adapters, you can modify the MAC address using the Realtek eFuse Programmer toolkit.

Programming Steps ​

  1. Modify the MAC address:

    • Open the 8168FEF.CFG file
    • Edit the first line to set your desired MAC address:
      NODEID = 00 E0 4C 88 00 18
      ;ENDID = 00 E0 4C 68 FF FF
  2. Run the programming script:

    • Execute WINPG64.BAT

    • A successful rewrite will show output similar to:

      ****************************************************************************
      *       EEPROM/EFUSE/FLASH Windows Programming Utility for                 *
      *    Realtek RTL8136/RTL8168/RTL8169/RTL8125 Family Ethernet Controller  *
      *   Version : 2.69.0.3                                                    *
      * Copyright (C) 2020 Realtek Semiconductor Corp.. All Rights Reserved.    *
      ****************************************************************************
      
      PG EFuse is Successful!!!
      NodeID = 00 E0 4C 88 00 18
      EFuse Remain 61 Bytes!!!
  3. Verify the MAC address change:

    • Open PowerShell
    • Run ipconfig /all
    • Look for your network adapter's Physical Address
    • It should match your programmed MAC address

USB NICs ​

Status: verified by this project on one Lekuo DR59R11 C: MAC change, every serial mode, and free switch-back, each checked after a replug. The app's own write is proven too: on 2026-11-10 rtl8159-flasher.exe switched the serial back from none to all zeros (0 bytes), and after a replug the adapter reported the zero serial. C Only the one-click two-step change is not yet tested on hardware. S

This is the top recommendation in this guide for a changeable MAC:

WhyDetail
SimpleOne exe from this project. No driver install, no DOS boot, no programmer, no vendor tool.
Fast10GbE over USB-C. Full speed needs a USB 3.2 Gen2x2 (20 Gbps) port.
Two identifiersChanges the stored MAC and the USB serial. Nothing else on the chip.
Way backEvery change is a small new entry. Switching back to an earlier value is often free. Restore original returns to the factory values.
Safe defaultsBackup first, exact bytes shown before a write, check after the write.
rtl8159-flasher: current adapter on the left, the planned change on the right, the stored history below. Example values, not a real adapter.

The left card shows what the adapter uses now. The right card shows your choice and, under Result after replug, exactly what changes and how many bytes it costs. A green border marks the setting on the adapter now, blue marks your choice. History lists every stored value and whether switching back to it is free.

Hardware ​

ItemValue
Tested adapterLekuo DR59R11, USB-C to 10GBASE-T RJ45
ChipRealtek RTL8159
USB ID0BDA:815A (generic Realtek ID)
DriverWindows built-in Realtek driver was enough on the test PC. The Realtek driver from the Lekuo download (1159.21.20.1009) also works.
Storage4 KB eFuse inside the chip. One-time programmable, append-only. About 1250 bytes free from the factory.

Lekuo's own speed figures: about 9.45 Gbps on a USB 3.2 Gen2x2 port, about 7.2 Gbps on Gen2 (10 Gbps), and about 3.5 Gbps on Gen1 (5 Gbps). Thunderbolt and USB4 ports usually run this adapter at 10 Gbps USB. A This project did not measure link speed.

Other RTL8159 adapters ​

AdapterExpectation
Lekuo DR59R11Verified C
Other RTL8159 adapters with USB ID 0BDA:815AVery likely to work: same chip, same driver path, same storage. The tool checks the chip ID before anything else. S
RTL8159 adapters with their own vendor USB IDNot listed by the tool.
Adapters with an extra EEPROM or SPI flash chipUnknown. The MAC may load from that chip, so an eFuse change may not show.
RTL8159 in the larger QFN100 packageUnknown.
RTL8157 and older Realtek chipsNot supported. Use the Realtek USB PG Tool.

How the storage works ​

  • The MAC and the USB serial live in the chip's eFuse. Each change adds a small entry at the end. At power-up the newest entry wins.
  • A change shows only after you unplug and replug the adapter. A driver restart (pnputil /restart-device) does not reload it.
  • To go back to an earlier value, the tool can zero out the newer entries. The chip skips zeroed bytes, so the older entry is active again. This costs no space.
  • The value you leave that way is used up. Its entry is now zeros, so coming back to it later needs a new entry (4 bytes for a serial setting, 4 to 9 for a MAC).
ChangeeFuse bytes used
New MAC4 to 9
Custom serial25
Switch serial mode4
Switch back to an earlier value (when offered as free)0

USB serial options:

OptionUSB serial Windows seesExample
Follows the MAC (factory default)0003 + MAC, changes with the MAC000388C9B34EA217 for MAC 88:C9:B3:4E:A2:17
All zeros000000000000000, stays when the MAC changes000000000000000
No serialNone. Windows then names the adapter by its USB port, so another port means a new adapter in Windows.none
Custom15 characters, 0-9 and A-F, fixed5C1E07A39B2D46F

Do not copy these examples. Pick your own values.

Requirements ​

  • An RTL8159 USB adapter with USB ID 0BDA:815A. Check it in Device Manager, Details, Hardware Ids (USB\VID_0BDA&PID_815A).
  • Windows 10 or 11 x64 and an administrator account.
  • A writable folder for the tool, such as a folder on your desktop. The tool keeps its backups in a backups folder next to the exe.
  • No NetworkAddress override on this adapter. See Check for a Windows override.

Download ​

  • rtl8159-flasher.exe. One file, version 1.0.1. Provenance and hash are in PROVENANCE.md in the same repository folder.

Change the MAC and serial ​

  1. Plug in the adapter. Unplug any other RTL8159 adapter.
  2. Run HWIDChecker.exe and save the NETWORK ADAPTERS (NIC's) section as your baseline.
  3. Right-click rtl8159-flasher.exe and choose Run as administrator.
  4. Select the adapter. The tool reads the full eFuse twice, checks that both reads match, and saves the backup file backups\<factory MAC>.rtl8159.json. Open backup folder shows it.
  5. Copy the backups folder somewhere outside the PC. If the backup file is missing or damaged, the tool refuses to write.
  6. Use the Safe tab. The first three MAC bytes (the maker part, 88:C9:B3 on the Lekuo) stay fixed. Enter the last six hex digits. The Advanced tab lets you change all twelve digits and warns when the maker part changes.
  7. Pick a serial option. It starts at the adapter's current setting, so keeping it costs nothing.
  8. Click Review & write.... Nothing is written yet. The review window lists the exact bytes, the cost, and the space left.
  9. Read the list. Tick I understand this is permanent (it can only be overwritten by a newer change) and click Write now, or cancel.
  10. The tool writes, reads every byte back, and checks the full eFuse. Wait for it to finish. Do not unplug the adapter during the write.
  11. When the tool asks, unplug the adapter and plug it back in. The tool finds it again and shows Applied (green) or Mismatch (red).
  12. Run HWIDChecker again and compare with your baseline. A changed USB serial makes Windows add a new "Ethernet N" entry after the replug; the old one is stale.

Go back ​

  • History: the tool lists every MAC and serial setting the adapter has stored, newest first. Each entry shows whether going back is a free switch-back or needs a new entry, and how many bytes. Use this fills in the change; nothing is written until you review and confirm.
  • Restore original...: returns to the factory MAC and the original serial setting.

WARNING

Untested on hardware: the one-click change that runs two steps in one action (a free switch-back, then a new entry). A single write by the app is proven on hardware; the two-step action is covered only by the app's own tests. Watch the review window and the result after replug. S

CAUTION

eFuse is one-time programmable. Every new entry uses space for good, and a backup cannot give that space back. Zeroing entries for a switch-back is also permanent. If the adapter loses power during a write, the tool's write order keeps the old identity active, but a write that stopped halfway blocks further changes until the tool reads the adapter again. Never force a plan the tool refuses.

What this does not change:

  • The USB IDs (0BDA:815A), the product strings, and the chip's other settings.
  • Old adapter entries Windows has already stored in the registry.
  • The MAC on any other network adapter in the PC.

Troubleshooting the RTL8159 flasher ​

The adapter is not listed. The tool lists only adapters with USB ID 0BDA:815A that are plugged in now. Check the hardware ID in Device Manager. An adapter with its own vendor USB ID is not supported.

The change does not show. Unplug the adapter and plug it back in. A driver restart does not reload the eFuse. Then check for a NetworkAddress override, which hides the stored MAC.

The tool refuses to write. The backup file is missing or damaged, the plan does not fit the free space, or an earlier write stopped halfway. Keep the backups folder next to the exe and let the tool read the adapter again. Do not try to force the write.

Windows shows several "Ethernet N" adapters. Each new USB serial, or a port change with no serial, looks like a new adapter to Windows. The old entries are stale.

Realtek USB NICs (Update) ​

Status: first-hand report by the named contributor Exclusion, on a Belkin USB-C-to-Ethernet adapter built on RTL8153. Not repeated by this guide's maintainer. C The bundled steps use PG Tool 2.0.22; the detailed report used 2.0.26.0. S

  • Realtek-based USB NICs (e.g., RTL8153/RTL8156 series) can also be permanently spoofed.
  • Use the Realtek USB PG Tool package; primary folder to use:
    • "LATEST_PUB_WIN_USB_PGTOOL_v2.0.22_V2"
  • Tool package:
    • RealtekMAC USB.zip
      • Older folders inside are retained only for experimentation; the above folder is the recommended one.
  • Tested hardware:

CAUTION

Realtek documents that RTL8153B and RTL8156B controllers can use embedded OTP in place of an external EEPROM. The finished adapter decides which storage is present or enabled. If the tool is in EFUSE or OTP mode, assume that every write is permanent and consumes finite capacity. A dump is still mandatory, but it is not an undo button. A Match USB identifiers, record extra firmware and storage fields, limit retries, and perform device-level persistence checks. These controls were not part of Exclusion's report. S No cited vendor source establishes that configuration files or controller tables are interchangeable between PG Tool 2.0.22 and 2.0.26.0. Treat a version that cannot identify the exact controller as unsupported. S

  • Quick programming steps (Windows):
    • Open the USB PG Tool from "LATEST_PUB_WIN_USB_PGTOOL_v2.0.22_V2".
    • Select your device and make sure mode is set to EFUSE.
    • Click "DUMP" to read current settings and confirm the tool returns "PASS". DUMP/Read section
    • Set "CURRENT MAC" to your desired value (preserve vendor OUI if possible).
    • Click "PROGRAM" to flash; success should show "PASS". DUMP/Read section
    • Done
  • Serial number note:
    • The tool allows changing the USB "Serial Number". Avoid changing it in most scenarios:
      • Many Realtek USB NICs share common serial prefixes (e.g., "4013"), so altering it can make your unit uniquely stand out.
    • Do not modify other advanced settings unless you know exactly what they do.

Realtek USB PG Tool Details ​

The detailed first-hand workflow:

  1. Unplug the Ethernet cable and leave only the target USB NIC connected. C
  2. Use SEARCH to enumerate supported devices and select the target adapter. C Match the controller, USB VID/PID, and current MAC before continuing. S
  3. Use DUMP first and record the current MAC plus any MINIMUM and MAXIMUM values. C Also record USB identifiers, firmware values, selected storage mode, tool version, and a redacted screenshot. S
  4. Select Program NODEID only. Do not program the full configuration merely to change the MAC. C
  5. Change only the device-specific bytes, preserve the vendor OUI, and keep the address inside the range reported for that unit. C
  6. Select Program and save the result. C Do not retry a failed eFuse write repeatedly; record any remaining-byte counter. S
  7. Reboot or unplug and reconnect the adapter, then verify the active address. C Use the verification checklist before making a device-storage claim. S

Status: one successful report, revision and storage mode unconfirmed. S

TP-Link's UE300 product page and V1, V3, and V4 datasheets identify the controller as Realtek RTL8153. Its support page lists hardware versions from V1 through V5.60. These pages do not identify the active MAC storage for each revision, so confirm the version printed on the unit before using a low-level tool. A

WARNING

A successful UE300 programming result was reported, but the available readback detail does not establish which UE300 hardware revision or storage mode was used. The steps below are a cautious application of the Realtek workflow, not a verified UE300 recipe. S

  1. Record the UE300 model and hardware version from its label.
  2. In Device Manager, record the USB hardware IDs and confirm that Windows identifies a Realtek-based adapter.
  3. Open the Realtek USB PG Tool and use SEARCH. Stop if it does not identify the controller cleanly.
  4. Use DUMP before any write. Save the original MAC, VID/PID, serial, storage mode, configuration range, firmware fields, and the complete tool output.
  5. If the tool explicitly supports the unit, select Program NODEID only and change only the device-specific MAC bytes.
  6. If EFUSE or OTP is selected, treat the write as irreversible. Do not experiment with serial, VID/PID, LED, or firmware fields.
  7. Remove power from the adapter, reconnect it, and verify in HWIDChecker, Get-NetAdapter, and getmac /v.

Do not interpret a Windows-only address change as proof that the UE300's device storage changed. Clear any NetworkAddress override before testing persistence.

ASIX AX88179(A/B now too!) ​

Status: short workflow from community use; the detailed Captain workflow is a first-hand third-party report. C Identify the exact controller and storage before using either. S

  • Overview:

    • Permanent MAC changes are possible using the ASIX programming utility.
    • Keep the vendor OUI (first 6 hex digits) and change only the last 6.
  • Downloads:

  • Quick steps:

    1. Extract the tool, run as Administrator.
    2. Backup current config/EEPROM if the tool provides an option.
    3. Program a new MAC that preserves the original OUI.
    4. Unplug/replug the adapter.
    5. Done
  • Notes:

    • AX88179 "A/B" revisions can only be flashed with the Captain Mac Tool.
    • If programming fails or reverts, the unit/firmware may be locked or unsupported.

AX88179 Storage and Captain Tool Detail ​

ASIX documents different non-volatile storage by revision. The original AX88179 can use an external 93C56/93C66 EEPROM or embedded eFuse. AX88179A supports embedded eFuse plus external SPI flash. AX88179B uses embedded eFuse for device data. ASIX also documents its own Windows/Linux programming tools for these parts. A

ASIX says AX88179A and AX88179B controllers ship with a unique MAC address. For original AX88179-based designs, its FAQ instead directs the manufacturer to assign a unique MAC in EEPROM or eFuse. A

The existing statement that A/B revisions "can only be flashed with the Captain Mac Tool" describes the tooling bundled with this guide. It is not a vendor-wide limitation. Prefer the ASIX tool for the exact controller revision when ASIX makes it available to you. A

The external report describes this Captain workflow:

  1. Extract the existing Captain package without running the executable yet.
  2. Inspect WIN X64 Drivers\179_178ATest.inf. In Device Manager, update the target ASIX USB to Gigabit Ethernet Family Adapter manually and select the test driver as the external report describes. C Continue only if the INF hardware IDs match the adapter. S
  3. Confirm that Device Manager shows the intended test-driver device with no error before opening the programming tool. C
  4. Run Captain Mac Tool.exe as Administrator and select Based On Mac Address. C
  5. Record the current value. Preserve the first three vendor bytes and change only the final three bytes. C
  6. Select Program, wait for completion, then unplug and reconnect the adapter. C
  7. Unplug and reconnect the adapter, then verify the active address with ipconfig /all. C Use the cold-power persistence check for stronger evidence. If the address reverts, do not repeat writes blindly. S

CAUTION

eFuse cannot be erased. On an AX88179, AX88179A, or AX88179B board that uses eFuse, a successful backup cannot restore the consumed bits. On an EEPROM- or SPI-flash-based board, restoration still requires a controller-matched image and tool. A Match the INF to the adapter's hardware ID and perform a cold-power persistence check. Do not disable Windows driver-signing protections to force the driver to load. S

Mellanox ConnectX-3 (CX311A / MCX311A-XCAT) ​

Status: verified working procedure, tested on Windows 10 with a real CX311A single-port SFP+ card. C

IMPORTANT

The MAC change here is device-level and persistent (burned into NIC firmware), not an OS-level override. Unlike Intel X550 which has one-time-lock behavior, ConnectX-3 supports repeated MAC changes.

Hardware Details ​

DetailValue
Card ModelCX311A / MCX311A-XCAT
PortsSingle SFP+
PCIex4
PSIDMT_1170110023
Firmware2.33.5220
Image TypeFS2
Device ID4099
  • RJ45 connectivity was provided through an SFP+ to RJ45 transceiver module.
  • Internet and 10 Gbps link were already working before any flashing.
  • Link stayed working at 10 Gbps after the MAC change.
  • Sourcing: search for Mellanox ConnectX-3 CX311A MCX311A-XCAT PCIe x4 SFP+ on eBay or AliExpress. These cards are widely available used.

Prerequisites ​

  • OS: Windows 10 / Windows 11 (the tested procedure below was on Windows 10, but the WinOF 5.50 driver and WinMFT 4.13 package are also known to work on Windows 11)
  • Driver: WinOF 5.50.53000 - not WinOF-2 (ConnectX-3 is on the older WinOF branch)
  • Firmware tools: WinMFT 4.13.3

Download both installers:

NOTE

The WinOF installer filename says "Win2019" - this refers to the build target (Windows Server 2019), but the driver installs and works correctly on Windows 10 and Windows 11 desktop as well.

IMPORTANT

ConnectX-3 / ConnectX-3 EN requires WinOF (not WinOF-2). WinOF-2 is for ConnectX-4 and newer. Using the wrong driver package will fail silently or cause detection issues.

Installation ​

  1. Install the WinOF driver package first:

    • Run MLNX_VPI_WinOF-5_50_53000_All_Win2019_x64.exe
    • Follow the installer prompts, reboot if asked
  2. Install WinMFT:

    • Run WinMFT_x64_4_13_3_6.exe
    • Default install path: C:\Program Files\Mellanox\WinMFT
  3. After installation, the WinMFT folder contains:

    • mst.exe
    • flint.bat
    • flint_ext.exe
    • mlxfwmanager.exe
    • mlxburn.exe
    • mlxconfig.exe
    • Various DLLs and support files

IMPORTANT

mstflint.exe does not exist as a standalone binary in this Windows install. Use flint.bat (which calls flint_ext.exe) for all flint commands. If you see guides referencing mstflint, substitute .\flint.bat instead.

Step 1: Discover the Device ​

Open PowerShell as Administrator:

powershell
cd “C:\Program Files\Mellanox\WinMFT”
.\mst.exe status -v

Expected output:

MST devices:
------------
  mt4099_pci_cr0         bus:dev.fn=0a:00.0
  mt4099_pciconf0        bus:dev.fn=0a:00.0

TIP

Use mt4099_pci_cr0 as the device path for all subsequent commands. This is the preferred path that was tested successfully. Do not use pciconf0 unless you have a specific reason.

Step 2: Query Current Firmware and MAC ​

powershell
.\flint.bat -d mt4099_pci_cr0 q

Expected output:

Image type:            FS2
FW Version:            2.33.5220
FW Release Date:       29.3.2015
Product Version:       02.33.52.20
Rom Info:              type=PXE version=3.4.467
Device ID:             4099
Description:           Node             Port1            Port2            Sys image
GUIDs:                 ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff
MACs:                                       e41d2da1b2c0     e41d2da1b2c1
VSD:
PSID:                  MT_1170110023

NOTE

Why two MACs on a single-port card? This is normal. flint uses a base MAC and auto-assigns Port2 as base+1. Port1 is your active real NIC port. Port2 is stored in firmware metadata but not physically used. Do not panic when you see two MAC values on a single-port card.

Step 3: Verify MAC in Windows ​

Run these commands to confirm the Windows-visible MAC matches Port1 from flint:

powershell
getmac /v
Connection Name Network Adapter Physical Address    Transport Name
=============== =============== =================== ==========================================================
Ethernet        Mellanox Connec E4-1D-2D-A1-B2-C0   \Device\Tcpip_{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
powershell
ipconfig /all
Ethernet adapter Ethernet:

   Description . . . . . . . . . . . : Mellanox ConnectX-3 Ethernet Adapter
   Physical Address. . . . . . . . . : E4-1D-2D-A1-B2-C0
   DHCP Enabled. . . . . . . . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
powershell
Get-NetAdapter | Format-Table Name, InterfaceDescription, MacAddress, Status, LinkSpeed
Name            InterfaceDescription                 MacAddress        Status LinkSpeed
----            --------------------                 ----------        ------ ---------
Ethernet        Mellanox ConnectX-3 Ethernet Adapter E4-1D-2D-A1-B2-C0 Up     10 Gbps

IMPORTANT

Always verify that the Windows MAC and flint Port1 MAC match before proceeding.

Step 4: Back Up Firmware Image ​

powershell
.\flint.bat -d mt4099_pci_cr0 ri cx311a-backup.bin

This reads the full firmware image from flash memory to a local file. Keep this backup safe - it is your recovery path if anything goes wrong.

Make a copy for testing:

powershell
Copy-Item .\cx311a-backup.bin .\cx311a-test.bin

Before touching real hardware, test the MAC change on the backup image file. This proves the edit logic works without any risk to the card.

Choose a test MAC. For minimal-risk testing, change only the last nibble of the original:

  • Original Port1: E4:1D:2D:A1:B2:C0
  • Test Port1: E4:1D:2D:A1:B2:C2
  • Port2 will automatically become: E4:1D:2D:A1:B2:C3 (base+1)

Write the new MAC to the image file:

powershell
.\flint.bat -i .\cx311a-test.bin -mac 0xE41D2DA1B2C2 sg

Expected output:

    You are about to change the Guids/Macs/Uids on the image:

                        New Values              Current Values
        Node  GUID:     ffffffffffffffff        ffffffffffffffff
        Port1 GUID:     ffffffffffffffff        ffffffffffffffff
        Port2 GUID:     ffffffffffffffff        ffffffffffffffff
        Sys.Image GUID: ffffffffffffffff        ffffffffffffffff
        Port1 MAC:          e41d2da1b2c2            e41d2da1b2c0
        Port2 MAC:          e41d2da1b2c3            e41d2da1b2c1

 Do you want to continue ? (y/n) [n] : y
Restoring signature                     - OK

Verify the modified image:

powershell
.\flint.bat -i .\cx311a-test.bin q
Image type:            FS2
FW Version:            2.33.5220
FW Release Date:       29.3.2015
Product Version:       02.33.52.20
Rom Info:              type=PXE version=3.4.467
Device ID:             4099
Description:           Node             Port1            Port2            Sys image
GUIDs:                 ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff
MACs:                                       e41d2da1b2c2     e41d2da1b2c3
VSD:
PSID:                  MT_1170110023

NOTE

The image file now shows the new MAC values. This confirms the edit logic is correct before touching real hardware.

Step 6: Flash the New MAC to the Real Card ​

powershell
.\flint.bat -d mt4099_pci_cr0 -mac 0xE41D2DA1B2C2 sg

Expected output:

-W- GUIDs are already set, re-burning image with the new GUIDs ...
    You are about to change the Guids/Macs/Uids on the device:

                        New Values              Current Values
        Node  GUID:     ffffffffffffffff        ffffffffffffffff
        Port1 GUID:     ffffffffffffffff        ffffffffffffffff
        Port2 GUID:     ffffffffffffffff        ffffffffffffffff
        Sys.Image GUID: ffffffffffffffff        ffffffffffffffff
        Port1 MAC:          e41d2da1b2c2            e41d2da1b2c0
        Port2 MAC:          e41d2da1b2c3            e41d2da1b2c1

 Do you want to continue ? (y/n) [n] : y
Burning FS2 FW image without signatures - OK
Restoring signature                     - OK

NOTE

The message "re-burning image with the new GUIDs" is normal - it means GUIDs were already set and are being preserved. Success indicators: Burning FS2 FW image without signatures - OK and Restoring signature - OK.

Step 7: Reboot ​

powershell
shutdown /r /t 0

Step 8: Verify After Reboot ​

Open PowerShell as Administrator again:

powershell
cd “C:\Program Files\Mellanox\WinMFT”
.\flint.bat -d mt4099_pci_cr0 q
Image type:            FS2
FW Version:            2.33.5220
FW Release Date:       29.3.2015
Product Version:       02.33.52.20
Rom Info:              type=PXE version=3.4.467
Device ID:             4099
Description:           Node             Port1            Port2            Sys image
GUIDs:                 ffffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffff
MACs:                                       e41d2da1b2c2     e41d2da1b2c3
VSD:
PSID:                  MT_1170110023
powershell
getmac /v
Connection Name Network Adapter Physical Address    Transport Name
=============== =============== =================== ==========================================================
Ethernet        Mellanox Connec E4-1D-2D-A1-B2-C2   \Device\Tcpip_{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
powershell
ipconfig /all
Ethernet adapter Ethernet:

   Description . . . . . . . . . . . : Mellanox ConnectX-3 Ethernet Adapter
   Physical Address. . . . . . . . . : E4-1D-2D-A1-B2-C2
   DHCP Enabled. . . . . . . . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
powershell
Get-NetAdapter | Format-Table Name, InterfaceDescription, MacAddress, Status, LinkSpeed
Name            InterfaceDescription                 MacAddress        Status LinkSpeed
----            --------------------                 ----------        ------ ---------
Ethernet        Mellanox ConnectX-3 Ethernet Adapter E4-1D-2D-A1-B2-C2 Up     10 Gbps

Confirmed results:

  1. The MAC change succeeded permanently on the NIC firmware.
  2. Windows picked up the new flashed MAC automatically - no driver or OS-level configuration needed.
  3. The link remained up at 10 Gbps after the flash.
  4. Repeated permanent MAC rewriting works on this ConnectX-3 setup.

Choosing a Final MAC Address ​

The initial test above changed only one nibble as a minimal-risk proof of function. For a long-term MAC, it is cleaner to use a locally administered MAC starting with 02 instead of staying in the original Mellanox vendor range:

MAC
Example final MAC (Port1)02:11:22:33:44:55
Port2 (auto-derived)02:11:22:33:44:56
powershell
.\flint.bat -d mt4099_pci_cr0 -mac 0x021122334455 sg

NOTE

Using a 02:xx:xx:xx:xx:xx prefix marks the address as locally administered per IEEE standards, avoiding collisions with real vendor OUIs.

NOTE

Why 02:xx instead of keeping the vendor OUI? For USB NICs the general best practice is to preserve the original vendor OUI (first 3 bytes) and only change the last 3 - this avoids standing out as an unusual device in network logs. For a firmware-level flash like this, the situation is different: you are rewriting the actual base MAC in NIC firmware, not applying an OS-level override. Using a locally administered 02:xx prefix is the IEEE-correct way to assign a self-chosen address and avoids accidentally duplicating a real Mellanox-assigned MAC that exists on another card somewhere. Both approaches work technically - choose based on your threat model.

Quick Reference: Changing MAC Again Later ​

powershell
cd “C:\Program Files\Mellanox\WinMFT”
.\flint.bat -d mt4099_pci_cr0 -mac 0xNEWMAC sg
shutdown /r /t 0

Verify after reboot:

powershell
cd “C:\Program Files\Mellanox\WinMFT”
.\flint.bat -d mt4099_pci_cr0 q
getmac /v

Replace 0xNEWMAC with your desired MAC in hex format (e.g., 0x021122334455). Port2 is always derived automatically as base+1.

Troubleshooting ​

  1. mstflint is "not recognized"

    • On this Windows install, the relevant executables are mst.exe, flint.bat, and flint_ext.exe - not mstflint.exe. Use .\flint.bat for all flint operations.
  2. mst status -v shows nothing

    • Check that the WinOF driver is installed correctly
    • Reboot the system
    • Reinstall WinOF, then reinstall WinMFT
    • Make sure you are running PowerShell as Administrator
  3. Card works in Windows but flint commands fail

    • Use mt4099_pci_cr0 as the device path, not pciconf0, unless you have a specific reason
  4. Do NOT use the following:

    • bb (burn block) commands
    • -ocr flag
    • Random firmware image files from the internet
    • Crossflashing procedures
    • Low-level erase/write steps
  5. Do NOT update firmware first if the card is already working and your goal is MAC changing. Adding a firmware update step introduces unnecessary risk for no benefit in this workflow.

  6. Always test on an image file first (Step 5) before writing to the real device.

Workflow Summary ​

StepCommandPurpose
1.\mst.exe status -vDiscover device path
2.\flint.bat -d mt4099_pci_cr0 qQuery current MAC and firmware
3getmac /vVerify Windows MAC matches
4.\flint.bat -d mt4099_pci_cr0 ri cx311a-backup.binBack up firmware image
5.\flint.bat -i .\cx311a-test.bin -mac 0xNEWMAC sgTest MAC on image file
6.\flint.bat -d mt4099_pci_cr0 -mac 0xNEWMAC sgFlash MAC to real card
7shutdown /r /t 0Reboot
8.\flint.bat -d mt4099_pci_cr0 q + getmac /vVerify change persisted

Restoring Original Firmware from Backup ​

If you need to restore the original firmware image (including the original MAC), use the backup file from Step 4:

powershell
cd "C:\Program Files\Mellanox\WinMFT"
.\flint.bat -d mt4099_pci_cr0 -i cx311a-backup.bin b

Then reboot:

powershell
shutdown /r /t 0

WARNING

This writes the full original firmware image back to the card. The b flag means "burn" - it flashes the entire image from the file to the device. After reboot, the card will have its original MAC and firmware state restored.

Controller Storage: eFuse, EEPROM, or Flash ​

Controller or deviceDocumented storage choicesWhat that means
Intel Ethernet controllersController-specific EEPROM, flash, or integrated NVM; some fields can be lockedUse only a matching tool release and controller guide. Do not generalize one EEUPDATE result to another controller. A
Realtek RTL8125BG/BGSEmbedded OTP can replace external EEPROM; serial EEPROM and SPI flash are also supportedThe same controller family can appear on boards with different storage. OTP writes are permanent. A
Realtek RTL8153B-VBEmbedded OTP can replace external 93C46/93C56/93C66 EEPROM; the controller also has an SPI flash interfaceAn RTL8153 label does not tell you which interface stores the finished adapter's MAC. A
Realtek RTL8156B(S)GEmbedded OTP can replace external 93C46/93C56/93C66 EEPROM; the controller also has an SPI flash interfaceConfirm the tool's storage mode before any write. A
Realtek RTL8159 (Lekuo DR59R11)4 KB on-chip eFuse, append-only; no external EEPROM or SPI flash in use on the tested unitNewest entry wins at power-up. Zeroing newer entries restores an older one for free. Space is finite. C
TP-Link UE300TP-Link documents an RTL8153 controller; the public product page does not identify the board's active MAC storageTreat storage type as unknown until the tool reads it, and keep hardware revisions separate. A
ASIX AX88179Optional 93C56/93C66 serial EEPROM or embedded eFuseEEPROM may be rewritable; eFuse is one-time programmable. A
ASIX AX88179AEmbedded eFuse for device data and external SPI flash for firmware customizationDo not assume that changing flash also replaces data stored in eFuse. A
ASIX AX88179BEmbedded eFuse for device data; optional external SPI flash for firmware customizationASIX documents MAC customization through its eFuse programming tools. Treat it as permanent. A
Mellanox ConnectX-3Firmware image, as exercised by the tested workflow aboveThe documented backup-and-restore workflow is repeatable on the tested CX311A. C
Realtek RTL8126eFuse MAC; factory PGtool path with 8126EF.CFG programs MAC, SVID/SMID, and LEDFactory provisioning only. Retail end-user rewriting is unconfirmed. Do not reuse the RTL8125 recipe. C

The words DUMP, READ, or BACKUP do not guarantee reversibility. For OTP/eFuse, a backup records the original state but does not reset already programmed bits. A

Marvell / Aquantia AQC113: firmware recovery only. flashUpdate2.exe with signed agent and image files can update, reflash, and recover an AQC113. It matches images by the exact four-part PCI ID. C The public notes show no MAC-edit operation. S A successful firmware flash is not MAC-edit support. Older AQC107 DIAG results, both successes and "maximum number of MAC addresses programmed" failures, do not prove AQC113 compatibility. C

NIC identifiers beyond the MAC. A NIC can expose more than its MAC. Intel i226 ADAPTERINFO output shows ETrackID, firmware version, NVM version, MAC, and a serial number. In that output the serial is the MAC with ffff inserted, so it is derived from the MAC, not independent. Software can still read and compare it. C PCI vendor, device, subsystem, and revision IDs identify the controller or board class, not normally one unit. A Some adapters also expose PCIe VPD (Vital Product Data) fields such as part number and serial; an AQC113 FreeBSD probe shows a VPD part number. C Which of these fields exist is controller- and family-specific. For ConnectX-3 PSID and firmware data, see Hardware Details. If you change only the MAC, a MAC-derived serial can still show the old value or a mismatch.

Verification Checklist ​

Status: the Windows commands are documented interfaces. A The vendor-tool and cold-power checks provide stronger device-level evidence but are not validated on every controller family. S

1. Check for a Windows override ​

powershell
Get-NetAdapterAdvancedProperty -Name "*" -RegistryKeyword "NetworkAddress" -AllProperties

If the target adapter has a value, record and reset it before claiming that hardware storage changed. A

2. Compare Windows views ​

powershell
Get-NetAdapter -Physical |
  Format-Table Name, InterfaceDescription, MacAddress, Status

getmac /v /fo list

Get-CimInstance Win32_NetworkAdapter |
  Where-Object PhysicalAdapter |
  Select-Object Name, PNPDeviceID, MACAddress

Get-NetAdapter and getmac are documented Windows interfaces for the current adapter address. Matching results across these views can help identify the intended interface, but they still report the active driver-visible address. A

3. Check with HWIDChecker ​

  1. Run HWIDChecker.exe from the repository root.
  2. Open the NETWORK ADAPTERS (NIC's) section.
  3. Match the adapter by product name and PnP device ID, then record the displayed MAC.

HWIDChecker reads the current Win32_NetworkAdapter.MACAddress and matches the adapter GUID to the native interface table for Permanent MAC. If those values differ, it labels the current value MAC Address (Overridden). When the native permanent address is unavailable, it uses the NetworkAddress registry value to detect an override and reports Permanent MAC: Unavailable. Supported NDIS queries add Permanent MAC (OID) for the exact PnP instance; disagreements are recorded in diagnostics. These are driver-visible readbacks, not proof that firmware storage changed. A

4. Read back with the vendor tool ​

WARNING

This generic readback procedure has not been verified with every controller family. Use only the read-only command documented for the exact utility and revision. S

  • Reopen the same controller-matched utility.
  • Select the adapter again by hardware identity, not by list position alone.
  • Use its read-only query or dump function.
  • Compare the reported NODEID or MAC, storage mode, and remaining eFuse capacity with the pre-write record.

For the RTL8159 flasher this check is built in: after the replug it reads the adapter again and shows Applied or Mismatch. Start the tool again later to see the stored MAC, serial, and free space. C

5. Cold-power persistence check ​

WARNING

This general persistence test is not a vendor-specific recovery procedure and does not make a hardware write reversible. S

  1. Shut down Windows.
  2. Remove power from the NIC or unplug the USB adapter and confirm that it fully loses power.
  3. Start again with no NetworkAddress override.
  4. Repeat the Windows, HWIDChecker, and vendor-tool checks.

A changed current address after only a driver restart proves a software-visible change. A matching vendor readback after cold power is stronger, but still controller-specific, evidence of a device-storage change. S

Sources ​

Sources (31)