ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2338

[Release/Source] My HWID Whitelist Method

by IcyJake - 05-01-2019 - 11:15 PM
#1
In this thread I'm going to be releasing an HWID whitelist method that I wrote up. Keep in mind, this can be easily bypassed by hooking certain functions to spoof the HWID keys. To prevent this, you will have to add your own security because I didn't really add any. This is basically just meant to start someone off with making an HWID type of whitelist. Anyways, enjoy and message me if you have any questions!

Code:
#include <iostream>
#include <windows.h>

using namespace std;

int oemID;
int processorNumber;
int processorType;
int activeProcessorMask;
int processorLevel;
int processorRevision;
int hwid;
int hwidArray[2] = {123456789, 987654321}; // Whitelisted HWID's go here
void hwidHandler();
void hwidChecker();

void hwidHandler()
{
    SYSTEM_INFO siSystemInformation;

    GetSystemInfo(&siSystemInformation);

    oemID = siSystemInformation.dwOemId;
    processorNumber = siSystemInformation.dwNumberOfProcessors;
    processorType = siSystemInformation.dwProcessorType;
    activeProcessorMask = siSystemInformation.dwActiveProcessorMask;
    processorLevel = siSystemInformation.wProcessorLevel;
    processorRevision = siSystemInformation.wProcessorRevision;

    int hwidArray2[6] = {oemID, processorNumber, processorType, activeProcessorMask, processorLevel, processorRevision};

    hwid = hwidArray2[0, 1, 2, 3, 4, 5] * 2 * 4 * 8 * 16 * 32 * 64 * 120;
}

void hwidChecker()
{
    if (hwid == hwidArray[0] || hwid == hwidArray[1])
    {
        cout << "You have been granted access!" << endl << endl << endl << endl;
    }

    else if (hwid != hwidArray[0] || hwid != hwidArray[1])
    {
        cout << "You have been denied access!" << endl << endl << endl << endl;
    }
}

int main()
{
    hwidHandler();

    cout << "Your HWID: " << hwid << endl << endl;

    hwidChecker();

    system("pause");

    return 0;
}
Reply
#2
(05-01-2019 - 11:15 PM)IcyJake Wrote: In this thread I'm going to be releasing an HWID whitelist method that I wrote up. Keep in mind, this can be easily bypassed by hooking certain functions to spoof the HWID keys. To prevent this, you will have to add your own security because I didn't really add any. This is basically just meant to start someone off with making an HWID type of whitelist. Anyways, enjoy and message me if you have any questions!

Code:
#include <iostream>
#include <windows.h>

using namespace std;

int oemID;
int processorNumber;
int processorType;
int activeProcessorMask;
int processorLevel;
int processorRevision;
int hwid;
int hwidArray[2] = {123456789, 987654321}; // Whitelisted HWID's go here
void hwidHandler();
void hwidChecker();

void hwidHandler()
{
    SYSTEM_INFO siSystemInformation;

    GetSystemInfo(&siSystemInformation);

    oemID = siSystemInformation.dwOemId;
    processorNumber = siSystemInformation.dwNumberOfProcessors;
    processorType = siSystemInformation.dwProcessorType;
    activeProcessorMask = siSystemInformation.dwActiveProcessorMask;
    processorLevel = siSystemInformation.wProcessorLevel;
    processorRevision = siSystemInformation.wProcessorRevision;

    int hwidArray2[6] = {oemID, processorNumber, processorType, activeProcessorMask, processorLevel, processorRevision};

    hwid = hwidArray2[0, 1, 2, 3, 4, 5] * 2 * 4 * 8 * 16 * 32 * 64 * 120;
}

void hwidChecker()
{
    if (hwid == hwidArray[0] || hwid == hwidArray[1])
    {
        cout << "You have been granted access!" << endl << endl << endl << endl;
    }

    else if (hwid != hwidArray[0] || hwid != hwidArray[1])
    {
        cout << "You have been denied access!" << endl << endl << endl << endl;
    }
}

int main()
{
    hwidHandler();

    cout << "Your HWID: " << hwid << endl << endl;

    hwidChecker();

    system("pause");

    return 0;
}

Nice leak bro, I'd go about generating an encrypted digest on auth to compare with a decrypted state version and return a result for an extra layer of security. But nice leak for people who want to get into system auth.
Reply
#3
(05-01-2019 - 11:37 PM)Giths Wrote:
(05-01-2019 - 11:15 PM)IcyJake Wrote: In this thread I'm going to be releasing an HWID whitelist method that I wrote up. Keep in mind, this can be easily bypassed by hooking certain functions to spoof the HWID keys. To prevent this, you will have to add your own security because I didn't really add any. This is basically just meant to start someone off with making an HWID type of whitelist. Anyways, enjoy and message me if you have any questions!

Code:
#include <iostream>
#include <windows.h>

using namespace std;

int oemID;
int processorNumber;
int processorType;
int activeProcessorMask;
int processorLevel;
int processorRevision;
int hwid;
int hwidArray[2] = {123456789, 987654321}; // Whitelisted HWID's go here
void hwidHandler();
void hwidChecker();

void hwidHandler()
{
    SYSTEM_INFO siSystemInformation;

    GetSystemInfo(&siSystemInformation);

    oemID = siSystemInformation.dwOemId;
    processorNumber = siSystemInformation.dwNumberOfProcessors;
    processorType = siSystemInformation.dwProcessorType;
    activeProcessorMask = siSystemInformation.dwActiveProcessorMask;
    processorLevel = siSystemInformation.wProcessorLevel;
    processorRevision = siSystemInformation.wProcessorRevision;

    int hwidArray2[6] = {oemID, processorNumber, processorType, activeProcessorMask, processorLevel, processorRevision};

    hwid = hwidArray2[0, 1, 2, 3, 4, 5] * 2 * 4 * 8 * 16 * 32 * 64 * 120;
}

void hwidChecker()
{
    if (hwid == hwidArray[0] || hwid == hwidArray[1])
    {
        cout << "You have been granted access!" << endl << endl << endl << endl;
    }

    else if (hwid != hwidArray[0] || hwid != hwidArray[1])
    {
        cout << "You have been denied access!" << endl << endl << endl << endl;
    }
}

int main()
{
    hwidHandler();

    cout << "Your HWID: " << hwid << endl << endl;

    hwidChecker();

    system("pause");

    return 0;
}

Nice leak bro, I'd go about generating an encrypted digest on auth to compare with a decrypted state version and return a result for an extra layer of security. But nice leak for people who want to get into system auth.

That's a good idea, actually, but this isn't really a leak, but more of a release since I wrote it.
Reply

Users browsing: 1 Guest(s)