flat assembler
Message board for the users of flat assembler.
Index
> Windows > How to: Change your MAC address with assembly |
Author |
|
revolution 19 Jul 2010, 18:46
How to: Change your MAC address with assembly
Attached is a small demonstration file showing how to find and manipulate the network card(s). I expect it will work with Win2K and XP. Maybe Vista and 7 also. I tested with XPsp2. You need to run it with administrator privileges. Currently the code does this:
No .exe given, you have to assemble it yourself.
|
|||||||||||
19 Jul 2010, 18:46 |
|
b1528932 20 Jul 2010, 12:01
i dont see any file
|
|||
20 Jul 2010, 12:01 |
|
MHajduk 20 Jul 2010, 12:16
b1528932 wrote: i dont see any file |
|||
20 Jul 2010, 12:16 |
|
revolution 20 Jul 2010, 12:17
b1528932 wrote: i dont see any file |
|||
20 Jul 2010, 12:17 |
|
LocoDelAssembly 20 Jul 2010, 16:31
How he could have posted if not by being logged in?
|
|||
20 Jul 2010, 16:31 |
|
LocoDelAssembly 20 Jul 2010, 16:56
Oh I see, when you're returned back there is an anchor in the link that scrolls the page down to your reply.
|
|||
20 Jul 2010, 16:56 |
|
r22 20 Jul 2010, 21:58
Overriding MAC address with the registry is one of those Windows features that just make you dumbfounded. Like the registry key that lets you load a DLL into every process.
|
|||
20 Jul 2010, 21:58 |
|
revolution 21 Jul 2010, 04:27
r22 wrote: Overriding MAC address with the registry is one of those Windows features that just make you dumbfounded. Like the registry key that lets you load a DLL into every process. |
|||
21 Jul 2010, 04:27 |
|
r22 22 Jul 2010, 19:40
Clearly it's just me, but allowing modification of a hardware identifier in software seems insane.
But Linux and Windows both allow it, so maybe the utility of it outweighs any security concerns. I just want a world where MAC address filters are viable and network devices come with their own private keys, and asymmetric encryption key exchange + symmetric encryption is the DEFAULT for IP packets. Soon * bides time * ... |
|||
22 Jul 2010, 19:40 |
|
revolution 23 Jul 2010, 14:15
r22 wrote: I just want a world where MAC address filters are viable and network devices come with their own private keys, and asymmetric encryption key exchange + symmetric encryption is the DEFAULT for IP packets. Soon * bides time * ... |
|||
23 Jul 2010, 14:15 |
|
r22 23 Jul 2010, 17:07
revolution wrote:
I don't follow, are you saying locking down a hardware ID like a MAC address is akin to crippling the device? If so, I offer my equally glib response... MAC is to a NIC, as VIN is to a Car. |
|||
23 Jul 2010, 17:07 |
|
revolution 24 Jul 2010, 01:17
But a VIN is not used in the process of driving the car. A MAC is part of the network protocol. And putting fixed private/public keys and algorithms into hardware is just wrong. If the algo is broken tomorrow by a new mathematical analysis then you are left with a useless NIC.
|
|||
24 Jul 2010, 01:17 |
|
f0dder 25 Jul 2010, 19:38
Isn't the MAC override stored in HKLM anyway? This means unauthorized users won't be able to override it. If you have local admin privs, there's no point in making this hard to do.
|
|||
25 Jul 2010, 19:38 |
|
revolution 26 Jul 2010, 02:11
The MAC is stored at:
Code: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\<4 digit adapter number>\NetworkAddress |
|||
26 Jul 2010, 02:11 |
|
Alphonso 27 Jul 2010, 11:01
Thanks for the example and sharing Rev.
|
|||
27 Jul 2010, 11:01 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.