General[Q&A] Hardware Bans & The Mechanics [Code Included]
Posted:

General[Q&A] Hardware Bans & The Mechanics [Code Included]Posted:

Monument
  • Challenger
Status: Offline
Joined: Mar 13, 20165Year Member
Posts: 164
Reputation Power: 8
Status: Offline
Joined: Mar 13, 20165Year Member
Posts: 164
Reputation Power: 8
In this thread I will be explaining game creator steps on banning `exploiters, hackers, & modders`.




A developer is typically going to link to their anticheat and/or automated ban system is going to be something unique ALWAYS. Now this does mean you can avoid a ban if you spoof the correct identifiers before their system detects cheats or exploits on your unique ID.

Now generally someone does not want to take the chance in spoofing/changing just one as that leaves a high chance of becoming detected so in lot's of cases you want to target all the identifiers so we will move on.




Below we will go over examples of popular engines returning unique device id's;Current functions used in 98% of created games.

Unity - Unity Documentation
SystemInfo.deviceUniqueIdentifier


Unity > iOS - iOS Documentation
var identifierForVendor: UUID? { get }


Unity > Android (Returns MD5) - Android Documentation
public static final String ANDROID_ID


Unity > Microsoft Store
AdvertisingManager::AdvertisingId


Unity > Microsoft Store (Fallback)
HardwareIdentification::GetPackageSpecificToken().Id


Unity > Standalone
Win32_BaseBoard::SerialNumber
Win32_BIOS::SerialNumber
Win32_Processor::UniqueId
Win32_DiskDrive::SerialNumber
Win32_OperatingSystem::SerialNumber


Unity > Standalone (Fallback)

SystemInfo.unsupportedIdentifier





Merely to explain unity Windows Store Applications and Standalones will fallback, Store App will fallback if PC Settings -> Privacy -> Let apps use my advertising ID, It has been reported that turning it off then restarting your system to turn it back in rare cases unban you. Leaving it off will cause the Store App to fall back. Standalones will fallback if the ID is null accross the board.




Unreal Engine

FString FGenericPlatformMisc::GetDeviceId()
 {
     return GetUniqueDeviceId();
 }
 
 FString FGenericPlatformMisc::GetUniqueAdvertisingId()
 {
     return FString();
 }





You can find hardware documentation classes: here.
You can find BIOS documentation classes: here.




If you have any questions feel free to ask, This thread was to explain some key factors and help generalize you with them. All credit's go to the company and website owners. Below is a quick and easy script to dump your information so it's easily readable to you.

Note: Sometime's developers will ban your windows activation key, This enables you to remove it and run with a leaked one or new one until it's banned allowing you to switch back to your normal key however there is a very low chance they ban your unique identifier on a piece of hardware.




Common Hardware Ban Types

  • Motherboard
  • Power supply
  • Graphics card
  • USB Drive





OS Identifier, Serials, & ID Dumper - (Save as: <WHATEVER>.bat)

@echo off
REM
WMIC BIOS GET Manufacturer
WMIC BIOS GET BiosCharacteristics
WMIC BIOS GET BuildNumber
WMIC BIOS GET CodeSet
WMIC BIOS GET CurrentLanguage
WMIC BIOS GET Description
WMIC BIOS GET IdentificationCode
WMIC BIOS GET InstallDate
WMIC BIOS GET InstallableLanguages
WMIC BIOS GET LanguageEdition
WMIC BIOS GET ListOfLanguages
WMIC BIOS GET Manufacturer
WMIC BIOS GET Name
WMIC BIOS GET OtherTargetOS
WMIC BIOS GET PrimaryBIOS
WMIC BIOS GET ReleaseDate
WMIC BIOS GET SMBIOSBIOSVersion
WMIC BIOS GET SMBIOSMajorVersion
WMIC BIOS GET SMBIOSMinorVersion
WMIC BIOS GET SMBIOSPresent
WMIC BIOS GET SerialNumber
WMIC BIOS GET SoftwareElementID
WMIC BIOS GET SoftwareElementState
WMIC BIOS GET Status
WMIC BIOS GET TargetOperatingSystem
WMIC BIOS GET Version

echo ============================================================
echo ---------------------- LOCAL MACHINE -----------------------
echo ============================================================
REG QUERY HKEY_LOCAL_MACHINE

echo ============================================================
echo ------------------------- HARDWARE -------------------------
echo ============================================================
REG QUERY HKEY_LOCAL_MACHINE\HARDWARE

echo ============================================================
echo ----------------------- DESCRIPTION ------------------------
echo ============================================================
REG QUERY HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION

echo ============================================================
echo ------------------------- SYSTEM ---------------------------
echo ============================================================
REG QUERY HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System

echo ============================================================
echo -------------------------- BIOS ----------------------------
echo ============================================================
REG QUERY HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\BIOS
pause


Run as administrator and you can scroll, and learn about your system in under a couple minutes.
Users browsing this topic: None
Jump to:


RECENT POSTS

HOT TOPICS