B
B
bernardblack2014-05-03 21:06:47
.NET
bernardblack, 2014-05-03 21:06:47

Spoofing the MAC address for a specific program

Good afternoon!
In short, the essence of the problem: there is a program with a binding to the MAC address.
For each MAC-based computer, a "serial" number of the format 120436 (No. 1) is generated.
For it, a key of the form 14504890429 (No. 2) is generated by a separate program by a key generator.
There is no access to the key generator program.
When copying the software to another machine, number #1 changes and the original key #2 no longer fits it. When you change the MAC on the machine to the address of the machine from which the program was copied, number #1 changes to the original one and key #2 is suitable.
I assume that this is some kind of standard library for protecting the program and generating keys (program in C#).
In this regard, the question is, is it possible for one particular program to change the MAC address of the machine so that it "reads" it at startup and generates the "serial number" No. 1 that we need? While the MAC for the external environment (local network) should remain the same.
Thanks in advance for your advice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2014-05-04
@OLS

If this were not managed code, then I would suggest finding out which function from WinAPI the program receives the MAC address, find out in which library it is declared, compile a proxy library with the same name, in which only this function will be changed, and place it in the directory with the EXE file (the locally hosted library has priority over the system ones).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question