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
| Category | NIC | Speed | Difficulty | Method |
|---|---|---|---|---|
| Recommended | Realtek RTL8159 USB (Lekuo DR59R11) | 10 GbE | Easy - one exe, no driver install; MAC and USB serial | This project's rtl8159-flasher |
| Reference | Current and permanent MAC addresses | N/A | Read before choosing a method | Microsoft NDIS documentation |
| Windows | Software-only override | Any supported speed | Easy and reversible, but driver support varies | Set-NetAdapter / NetworkAddress |
| System | Intel NICs | 1 GbE | Hard - requires DOS boot, BIOS changes; may fail on some chipsets | EEUPDATE via DOS boot USB |
| System/PCIe | Realtek NICs | 1-2.5 GbE | Medium - tools are trial-and-error; depends on chipset | eFuse Programmer |
| USB | USB NICs overview | 1-10 GbE | Depends on controller, board revision, and storage | Controller-matched vendor tool |
| USB | Realtek USB NICs | 2.5 GbE | Easy - plug in, run tool, done | Realtek USB PG Tool |
| USB | TP-Link UE300 | 1 GbE | Medium - controller is known, storage implementation still must be identified | Realtek USB PG Tool |
| USB | ASIX AX88179 | 1 GbE | Easy - widely available, simple tool | ASIXFlash / Captain Mac Tool |
| PCIe | Mellanox ConnectX-3 | 10 GbE | Easy spoof, harder sourcing - commands are simple but finding the right card takes research | WinMFT flint (firmware flash) |
| Reference | Controller storage | N/A | Read before any hardware write | Vendor documentation |
| Reference | Verification checklist | N/A | Readback in several views | HWIDChecker / PowerShell / getmac |
| Reference | Sources | N/A | Primary sources and evidence provenance | Microsoft / 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
NetworkAddressoverride 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
- 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
Open PowerShell as Administrator and identify the target physical adapter:
powershellGet-NetAdapter -Physical | Format-Table Name, InterfaceDescription, MacAddress, StatusRecord the current address and any existing
NetworkAddressproperty:powershellGet-NetAdapterAdvancedProperty -Name "Ethernet" -RegistryKeyword "NetworkAddress" -AllPropertiesIf no row is returned, the property may not exist yet or the driver may not expose it.
Set a fabricated address. This example keeps Realtek's
00:E0:4COUI and changes the device-specific bytes:powershellSet-NetAdapter -Name "Ethernet" -MacAddress "00-E0-4C-5A-71-2D"Verify the active address with the commands in the verification checklist.
To return an exposed advanced property to its factory default, first obtain its exact
DisplayName, then reset that property:powershellGet-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
- Download required tools:
For Intel network cards, you can use the EEUPDATE utility through a DOS bootable USB.
Intel Tool Caveats and Backup
- Run
EEUPDATE /LIST_NICbefore 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_DUMPbefore 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
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
Prepare files:
- Copy EEUPDATE.exe to your bootable USB
- Create changemac.bat with the following content:
@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...
- 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
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
Manual commands (if the script fails):
dosEEUPDATE /NIC=1 /mac=AABBCCDDEE11 EEUPDATE /NIC=1 /MAC_DUMPAfter 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
AABBCCDDEE11with your desired MAC address - Keep your original MAC address noted down
- The
/NIC=1parameter 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_NICwill 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
- Download required tools (trial and error):
For Realtek network adapters, you can modify the MAC address using the Realtek eFuse Programmer toolkit.
Programming Steps
Modify the MAC address:
- Open the
8168FEF.CFGfile - Edit the first line to set your desired MAC address:
NODEID = 00 E0 4C 88 00 18 ;ENDID = 00 E0 4C 68 FF FF
- Open the
Run the programming script:
Execute
WINPG64.BATA 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!!!
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
Realtek RTL8159 10GbE (Lekuo DR59R11, recommended)
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:
| Why | Detail |
|---|---|
| Simple | One exe from this project. No driver install, no DOS boot, no programmer, no vendor tool. |
| Fast | 10GbE over USB-C. Full speed needs a USB 3.2 Gen2x2 (20 Gbps) port. |
| Two identifiers | Changes the stored MAC and the USB serial. Nothing else on the chip. |
| Way back | Every change is a small new entry. Switching back to an earlier value is often free. Restore original returns to the factory values. |
| Safe defaults | Backup first, exact bytes shown before a write, check after the write. |

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
| Item | Value |
|---|---|
| Tested adapter | Lekuo DR59R11, USB-C to 10GBASE-T RJ45 |
| Chip | Realtek RTL8159 |
| USB ID | 0BDA:815A (generic Realtek ID) |
| Driver | Windows built-in Realtek driver was enough on the test PC. The Realtek driver from the Lekuo download (1159.21.20.1009) also works. |
| Storage | 4 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
| Adapter | Expectation |
|---|---|
| Lekuo DR59R11 | Verified C |
Other RTL8159 adapters with USB ID 0BDA:815A | Very 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 ID | Not listed by the tool. |
| Adapters with an extra EEPROM or SPI flash chip | Unknown. The MAC may load from that chip, so an eFuse change may not show. |
| RTL8159 in the larger QFN100 package | Unknown. |
| RTL8157 and older Realtek chips | Not 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).
| Change | eFuse bytes used |
|---|---|
| New MAC | 4 to 9 |
| Custom serial | 25 |
| Switch serial mode | 4 |
| Switch back to an earlier value (when offered as free) | 0 |
USB serial options:
| Option | USB serial Windows sees | Example |
|---|---|---|
| Follows the MAC (factory default) | 0003 + MAC, changes with the MAC | 000388C9B34EA217 for MAC 88:C9:B3:4E:A2:17 |
| All zeros | 000000000000000, stays when the MAC changes | 000000000000000 |
| No serial | None. Windows then names the adapter by its USB port, so another port means a new adapter in Windows. | none |
| Custom | 15 characters, 0-9 and A-F, fixed | 5C1E07A39B2D46F |
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
backupsfolder next to the exe. - No
NetworkAddressoverride 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.mdin the same repository folder.
Change the MAC and serial
- Plug in the adapter. Unplug any other RTL8159 adapter.
- Run
HWIDChecker.exeand save the NETWORK ADAPTERS (NIC's) section as your baseline. - Right-click
rtl8159-flasher.exeand choose Run as administrator. - 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. - Copy the
backupsfolder somewhere outside the PC. If the backup file is missing or damaged, the tool refuses to write. - Use the Safe tab. The first three MAC bytes (the maker part,
88:C9:B3on 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. - Pick a serial option. It starts at the adapter's current setting, so keeping it costs nothing.
- Click Review & write.... Nothing is written yet. The review window lists the exact bytes, the cost, and the space left.
- Read the list. Tick I understand this is permanent (it can only be overwritten by a newer change) and click Write now, or cancel.
- 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.
- When the tool asks, unplug the adapter and plug it back in. The tool finds it again and shows Applied (green) or Mismatch (red).
- 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.
- RealtekMAC USB.zip
- Tested hardware:
- Recommended USB NIC:
- USB‑C 2.5GbE (Uniaccessories)
- Examples that DON'T WORK at the moment because of missing .CFG settings or custom EFUSE:
- Recommended USB NIC:
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".

- Set "CURRENT MAC" to your desired value (preserve vendor OUI if possible).
- Click "PROGRAM" to flash; success should show "PASS".

- 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.
- The tool allows changing the USB "Serial Number". Avoid changing it in most scenarios:
Realtek USB PG Tool Details
The detailed first-hand workflow:
- Unplug the Ethernet cable and leave only the target USB NIC connected. C
- Use
SEARCHto enumerate supported devices and select the target adapter. C Match the controller, USB VID/PID, and current MAC before continuing. S - Use
DUMPfirst and record the current MAC plus anyMINIMUMandMAXIMUMvalues. C Also record USB identifiers, firmware values, selected storage mode, tool version, and a redacted screenshot. S - Select
Program NODEID only. Do not program the full configuration merely to change the MAC. C - Change only the device-specific bytes, preserve the vendor OUI, and keep the address inside the range reported for that unit. C
- Select
Programand save the result. C Do not retry a failed eFuse write repeatedly; record any remaining-byte counter. S - Reboot or unplug and reconnect the adapter, then verify the active address. C Use the verification checklist before making a device-storage claim. S
TP-Link UE300 / RTL8153
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
- Record the UE300 model and hardware version from its label.
- In Device Manager, record the USB hardware IDs and confirm that Windows identifies a Realtek-based adapter.
- Open the Realtek USB PG Tool and use
SEARCH. Stop if it does not identify the controller cleanly. - Use
DUMPbefore any write. Save the original MAC, VID/PID, serial, storage mode, configuration range, firmware fields, and the complete tool output. - If the tool explicitly supports the unit, select
Program NODEID onlyand change only the device-specific MAC bytes. - If
EFUSEorOTPis selected, treat the write as irreversible. Do not experiment with serial, VID/PID, LED, or firmware fields. - Remove power from the adapter, reconnect it, and verify in HWIDChecker,
Get-NetAdapter, andgetmac /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:
- ASIXFlash-master.zip
- Upstream reference: ASIXFlash Repository
- Captain Mac Tool.zip
- Password used:
captaindma- Not added by me; it will also open their website...
- Password used:
- ASIXFlash-master.zip
Quick steps:
- Extract the tool, run as Administrator.
- Backup current config/EEPROM if the tool provides an option.
- Program a new MAC that preserves the original OUI.
- Unplug/replug the adapter.
- 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:
- Extract the existing Captain package without running the executable yet.
- Inspect
WIN X64 Drivers\179_178ATest.inf. In Device Manager, update the targetASIX USB to Gigabit Ethernet Family Adaptermanually and select the test driver as the external report describes. C Continue only if the INF hardware IDs match the adapter. S - Confirm that Device Manager shows the intended test-driver device with no error before opening the programming tool. C
- Run
Captain Mac Tool.exeas Administrator and selectBased On Mac Address. C - Record the current value. Preserve the first three vendor bytes and change only the final three bytes. C
- Select
Program, wait for completion, then unplug and reconnect the adapter. C - 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
| Detail | Value |
|---|---|
| Card Model | CX311A / MCX311A-XCAT |
| Ports | Single SFP+ |
| PCIe | x4 |
| PSID | MT_1170110023 |
| Firmware | 2.33.5220 |
| Image Type | FS2 |
| Device ID | 4099 |
- RJ45 connectivity was provided through an SFP+ to RJ45 transceiver module.
- Tested transceiver: Tecowin SFP-10G-T-ME (Mellanox compatible)
- Any 10GBase-T SFP+ module with Mellanox compatibility should work.
- 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:
- MLNX_VPI_WinOF-5_50_53000_All_Win2019_x64.zip - WinOF driver package
- WinMFT_x64_4_13_3_6.zip - firmware tools (flint, mst, etc.)
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
Install the WinOF driver package first:
- Run
MLNX_VPI_WinOF-5_50_53000_All_Win2019_x64.exe - Follow the installer prompts, reboot if asked
- Run
Install WinMFT:
- Run
WinMFT_x64_4_13_3_6.exe - Default install path:
C:\Program Files\Mellanox\WinMFT
- Run
After installation, the WinMFT folder contains:
mst.exeflint.batflint_ext.exemlxfwmanager.exemlxburn.exemlxconfig.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:
cd “C:\Program Files\Mellanox\WinMFT”
.\mst.exe status -vExpected output:
MST devices:
------------
mt4099_pci_cr0 bus:dev.fn=0a:00.0
mt4099_pciconf0 bus:dev.fn=0a:00.0TIP
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
.\flint.bat -d mt4099_pci_cr0 qExpected 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_1170110023NOTE
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:
getmac /vConnection Name Network Adapter Physical Address Transport Name
=============== =============== =================== ==========================================================
Ethernet Mellanox Connec E4-1D-2D-A1-B2-C0 \Device\Tcpip_{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}ipconfig /allEthernet 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)Get-NetAdapter | Format-Table Name, InterfaceDescription, MacAddress, Status, LinkSpeedName InterfaceDescription MacAddress Status LinkSpeed
---- -------------------- ---------- ------ ---------
Ethernet Mellanox ConnectX-3 Ethernet Adapter E4-1D-2D-A1-B2-C0 Up 10 GbpsIMPORTANT
Always verify that the Windows MAC and flint Port1 MAC match before proceeding.
Step 4: Back Up Firmware Image
.\flint.bat -d mt4099_pci_cr0 ri cx311a-backup.binThis 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:
Copy-Item .\cx311a-backup.bin .\cx311a-test.binStep 5: Test New MAC on Image File Only (Strongly Recommended)
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:
.\flint.bat -i .\cx311a-test.bin -mac 0xE41D2DA1B2C2 sgExpected 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 - OKVerify the modified image:
.\flint.bat -i .\cx311a-test.bin qImage 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_1170110023NOTE
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
.\flint.bat -d mt4099_pci_cr0 -mac 0xE41D2DA1B2C2 sgExpected 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 - OKNOTE
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
shutdown /r /t 0Step 8: Verify After Reboot
Open PowerShell as Administrator again:
cd “C:\Program Files\Mellanox\WinMFT”
.\flint.bat -d mt4099_pci_cr0 qImage 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_1170110023getmac /vConnection Name Network Adapter Physical Address Transport Name
=============== =============== =================== ==========================================================
Ethernet Mellanox Connec E4-1D-2D-A1-B2-C2 \Device\Tcpip_{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}ipconfig /allEthernet 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)Get-NetAdapter | Format-Table Name, InterfaceDescription, MacAddress, Status, LinkSpeedName InterfaceDescription MacAddress Status LinkSpeed
---- -------------------- ---------- ------ ---------
Ethernet Mellanox ConnectX-3 Ethernet Adapter E4-1D-2D-A1-B2-C2 Up 10 GbpsConfirmed results:
- The MAC change succeeded permanently on the NIC firmware.
- Windows picked up the new flashed MAC automatically - no driver or OS-level configuration needed.
- The link remained up at 10 Gbps after the flash.
- 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 |
.\flint.bat -d mt4099_pci_cr0 -mac 0x021122334455 sgNOTE
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
cd “C:\Program Files\Mellanox\WinMFT”
.\flint.bat -d mt4099_pci_cr0 -mac 0xNEWMAC sg
shutdown /r /t 0Verify after reboot:
cd “C:\Program Files\Mellanox\WinMFT”
.\flint.bat -d mt4099_pci_cr0 q
getmac /vReplace 0xNEWMAC with your desired MAC in hex format (e.g., 0x021122334455). Port2 is always derived automatically as base+1.
Troubleshooting
mstflintis "not recognized"- On this Windows install, the relevant executables are
mst.exe,flint.bat, andflint_ext.exe- notmstflint.exe. Use.\flint.batfor all flint operations.
- On this Windows install, the relevant executables are
mst status -vshows 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
Card works in Windows but flint commands fail
- Use
mt4099_pci_cr0as the device path, notpciconf0, unless you have a specific reason
- Use
Do NOT use the following:
bb(burn block) commands-ocrflag- Random firmware image files from the internet
- Crossflashing procedures
- Low-level erase/write steps
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.
Always test on an image file first (Step 5) before writing to the real device.
Workflow Summary
| Step | Command | Purpose |
|---|---|---|
| 1 | .\mst.exe status -v | Discover device path |
| 2 | .\flint.bat -d mt4099_pci_cr0 q | Query current MAC and firmware |
| 3 | getmac /v | Verify Windows MAC matches |
| 4 | .\flint.bat -d mt4099_pci_cr0 ri cx311a-backup.bin | Back up firmware image |
| 5 | .\flint.bat -i .\cx311a-test.bin -mac 0xNEWMAC sg | Test MAC on image file |
| 6 | .\flint.bat -d mt4099_pci_cr0 -mac 0xNEWMAC sg | Flash MAC to real card |
| 7 | shutdown /r /t 0 | Reboot |
| 8 | .\flint.bat -d mt4099_pci_cr0 q + getmac /v | Verify 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:
cd "C:\Program Files\Mellanox\WinMFT"
.\flint.bat -d mt4099_pci_cr0 -i cx311a-backup.bin bThen reboot:
shutdown /r /t 0WARNING
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 device | Documented storage choices | What that means |
|---|---|---|
| Intel Ethernet controllers | Controller-specific EEPROM, flash, or integrated NVM; some fields can be locked | Use only a matching tool release and controller guide. Do not generalize one EEUPDATE result to another controller. A |
| Realtek RTL8125BG/BGS | Embedded OTP can replace external EEPROM; serial EEPROM and SPI flash are also supported | The same controller family can appear on boards with different storage. OTP writes are permanent. A |
| Realtek RTL8153B-VB | Embedded OTP can replace external 93C46/93C56/93C66 EEPROM; the controller also has an SPI flash interface | An RTL8153 label does not tell you which interface stores the finished adapter's MAC. A |
| Realtek RTL8156B(S)G | Embedded OTP can replace external 93C46/93C56/93C66 EEPROM; the controller also has an SPI flash interface | Confirm 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 unit | Newest entry wins at power-up. Zeroing newer entries restores an older one for free. Space is finite. C |
| TP-Link UE300 | TP-Link documents an RTL8153 controller; the public product page does not identify the board's active MAC storage | Treat storage type as unknown until the tool reads it, and keep hardware revisions separate. A |
| ASIX AX88179 | Optional 93C56/93C66 serial EEPROM or embedded eFuse | EEPROM may be rewritable; eFuse is one-time programmable. A |
| ASIX AX88179A | Embedded eFuse for device data and external SPI flash for firmware customization | Do not assume that changing flash also replaces data stored in eFuse. A |
| ASIX AX88179B | Embedded eFuse for device data; optional external SPI flash for firmware customization | ASIX documents MAC customization through its eFuse programming tools. Treat it as permanent. A |
| Mellanox ConnectX-3 | Firmware image, as exercised by the tested workflow above | The documented backup-and-restore workflow is repeatable on the tested CX311A. C |
| Realtek RTL8126 | eFuse MAC; factory PGtool path with 8126EF.CFG programs MAC, SVID/SMID, and LED | Factory 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
Get-NetAdapterAdvancedProperty -Name "*" -RegistryKeyword "NetworkAddress" -AllPropertiesIf the target adapter has a value, record and reset it before claiming that hardware storage changed. A
2. Compare Windows views
Get-NetAdapter -Physical |
Format-Table Name, InterfaceDescription, MacAddress, Status
getmac /v /fo list
Get-CimInstance Win32_NetworkAdapter |
Where-Object PhysicalAdapter |
Select-Object Name, PNPDeviceID, MACAddressGet-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
- Run
HWIDChecker.exefrom the repository root. - Open the
NETWORK ADAPTERS (NIC's)section. - 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
NODEIDor 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
- Shut down Windows.
- Remove power from the NIC or unplug the USB adapter and confirm that it fully loses power.
- Start again with no
NetworkAddressoverride. - 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)
- Microsoft: NdisReadNetworkAddress and the
NetworkAddressregistry value - Microsoft: NDIS current and permanent MAC address attributes
- Microsoft: Set-NetAdapter
- Microsoft: Get-NetAdapter
- Microsoft: Get-NetAdapterAdvancedProperty
- Microsoft: Reset-NetAdapterAdvancedProperty
- Microsoft: getmac
- Microsoft: ipconfig
- Microsoft: Win32_NetworkAdapter
- IEEE: Guidelines for EUI, OUI, CID, and local-address bits
- Lekuo: DR59R11 USB-C 10GbE adapter (RTL8159)
- TP-Link: UE300 product specifications
- TP-Link: UE300 hardware-version support page
- TP-Link: UE300 V1 datasheet
- Realtek: RTL8153B-VB-CG
- Realtek: RTL8156B(S)G-CG
- Realtek: RTL8125BG(S)-CG
- ASIX: AX88179 storage and programming FAQ search
- ASIX: AX88179A product page and programming FAQ
- ASIX: AX88179B product page and programming FAQ
- ASIX: AX88179A mass-production storage guidance
- Intel: Ethernet Controller Products 30.4 release notes
- Intel: Ethernet Controller Products 25.2 release notes
- Intel: Ethernet Adapters and Devices User Guide
- HWID-Privacy: Rust network provider
- Intel Community: i226 EEUPDATE ADAPTERINFO output (ETrackID, NVM, serial)
- KevinYSH: Realtek LAN chip PGtool user guide (UEFI), RTL8126
8126EF.CFG - NVIDIA Developer Forums: RTL8126 MAC from eFuse
- coronas2k: AQC113 flashUpdate2 firmware update and recovery notes
- InsanelyMac: Aquantia AQC107 DIAG thread and ndoo.sg: Aquantia homelab notes
- FreeBSD freebsd-net list: AQC113 probe with PCIe VPD