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

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

Monument
  • Resident Elite
Status: Offline
Joined: Mar 13, 20168Year Member
Posts: 219
Reputation Power: 21
Status: Offline
Joined: Mar 13, 20168Year Member
Posts: 219
Reputation Power: 21
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.

The following 1 user thanked Monument for this useful post:

CodBoosts (05-12-2022)
#2. Posted:
Monument
  • Resident Elite
Status: Offline
Joined: Mar 13, 20168Year Member
Posts: 219
Reputation Power: 21
Status: Offline
Joined: Mar 13, 20168Year Member
Posts: 219
Reputation Power: 21
Bump because people keep dm'ing me their bans.

Read this and execute methods, bypasses, or clean your system.




Don't cheat if you don't want to get caught.
#3. Posted:
Zydrin
  • Christmas!
Status: Offline
Joined: Oct 17, 201310Year Member
Posts: 12,477
Reputation Power: 1973
Status: Offline
Joined: Oct 17, 201310Year Member
Posts: 12,477
Reputation Power: 1973
Awesome write up dude, super useful information.
#4. Posted:
Monument
  • Resident Elite
Status: Offline
Joined: Mar 13, 20168Year Member
Posts: 219
Reputation Power: 21
Status: Offline
Joined: Mar 13, 20168Year Member
Posts: 219
Reputation Power: 21
Zydrin wrote Awesome write up dude, super useful information.


No problem at all, Bumping because I might create some fun little tools for the community.
Users browsing this topic: None
Jump to:


RECENT POSTS

HOT TOPICS