Network Adapter MAC
NetworkAdapterMAC is a sandbox setting in Sandboxie Ini available since v1.15.2 / 5.70.2. This setting allows assigning custom MAC addresses to specific network adapters within sandboxes.
Syntax
- Index: Index value of the target network adapter, starts at 0
- MAC Address: Custom MAC address in hyphenated format (AA-BB-CC-DD-EE-FF) or plain format (AABBCCDDEEFF)
Example Usage
[DefaultBox]
HideNetworkAdapterMAC=y
NetworkAdapterMAC=0,12-34-56-78-9A-BC
NetworkAdapterMAC=1,DE-F0-12-34-56-78
Identifying Network Adapter Index Values
Sandboxie assigns index values only to adapters that have MAC addresses, in the order the system enumerates them. Virtual adapters without MAC addresses are skipped.
To identify which adapters get which Sandboxie index values, get a rough list of adapters with MAC addresses (run in Command Prompt):
Sandboxie assigns index values starting at 0 for the first adapter in this list, then 1, 2, 3, etc. However, Sandboxie's internal enumeration order may not match the command output order.
For accurate mapping, use the testing method:
- Set unique MAC addresses for each index:
- Run
ipconfig /all
inside the sandbox to see which adapter has which test MAC
Important Notes
- Requires
HideNetworkAdapterMAC=y
to be enabled in the same sandbox - Configuration available through INI only (no user interface option available)
- Invalid MAC address formats result in random MAC generation as fallback
- Each sandbox can assign different MAC addresses to the same physical adapters
Related Settings
- Hide Network Adapter MAC - Required dependency for MAC address customization
- Bind Adapter - Controls which network adapter programs use