Get Original Network Adapter MAC Adress

delphi package - easy access to security apis

Get Original Network Adapter MAC Adress

Postby appo99 » Wed Dec 03, 2014 7:19 pm

Hi friends,

I am new in this forum.
I have a problem; i cant get original mac address of a computer. Actually there are many programs for example TMAC v6, mac address changer etc. to get original mac address. (Look in the picture, there is restore original button and it works.)
Image



The user of a program can change the mac address of pc. The program checks the mac and if the trial not ended, it continues. Or the pc which has licenced mac address will have free program usage.
There are bad boys :crazy: cracking programs. But i know there is a way to get original mac address. I searched a lot in the internet and i didnt find anything.
(http://www.experts-exchange.com/Program ... l#view-all)

After i thought the king of hook madshi may know how to do it. So i opened this topic. There is a way i know but i cant do it programatically. Explaning it:
There is properties in the Network adapter.
Image
When i use getmac command in cmd, it gives the same VALUE in the picture. But if i click "Not present", and press ok, if i use getmac command in cmd, i get the original mac address.

So i thought, if i want to check an original mac address of a pc, i can firstly select not present (Programatically, the problem is that i cant do it programatically) and get the original mac address, then after i can set the old valued mac address, so the low level hackers cant realize that i am restoring the original mac address. I know assembly, C#, vb.net and c++ but not delphi :((. Any code or suggestion will make me happy.

if you help me i will be happy friends.
Thank you all.
appo99
 
Posts: 1
Joined: Wed Dec 03, 2014 7:04 pm

Re: Get Original Network Adapter MAC Adress

Postby madshi » Mon Dec 08, 2014 7:04 pm

I don't know how to do that. I could imagine you could do something like this by using the SetupAPI, but I'm not sure:

http://msdn.microsoft.com/en-us/library ... 97(v=vs.85).aspx
madshi
Site Admin
 
Posts: 9752
Joined: Sun Mar 21, 2004 5:25 pm


Return to madSecurity

Who is online

Users browsing this forum: No registered users and 1 guest