preventing multiplayer cheating - umd · 2019. 5. 1. · cheating attacks • reflex augmentation:...

27
Preventing multiplayer cheating CMSC425.01 Spring 2019

Upload: others

Post on 01-Apr-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Preventingmultiplayercheating

CMSC425.01Spring2019

Page 2: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Administrivia

• Finalhomework(Hw3)• Errata: Question2(a)hasabadheuristic.• Correctedhomeworkposted

• Finalmidterm• Prepmaterialonwebsite• Mondaywilldoreview• ThursdayMay8th

Page 3: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Today’squestion

Howtopreventcheating

Page 4: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Cheating…

• Frustratesplayers• Reducesingamepurchases• Causesplayerstoquit• Impactspaidplayerleagues

• Yourexperiences?

Page 5: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Considermoregenerally…

• Alwaysgoodtoconsidersecurity

• Howaregameslike

• Onlinebanking• Onlineretail• Socialmedia• Anythingnetworked

Page 6: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Cheating…

• Frustratesplayers• Reducesingamepurchases• Causesplayerstoquit• Impactspaidplayerleagues

• Yourexperiences?

• Howprevent?

Page 7: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Cheating…

• Frustratesplayers• Reducesingamepurchases• Causesplayerstoquit• Impactspaidplayerleagues

• Yourexperiences?

• Howprevent?

https://www.aimforest.com/cheat-detail/call-of-duty-ghosts-hacks-aimbots-and-other-cheats

Page 8: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

PritchardonGamasutra

• Ifyoubuildit,theywillcometohackandcheat• Hackingattemptsincreaseasagamebecomesmoresuccessful• Cheatersactivelytrytocontrolknowledgeoftheircheats• Yourgame,alongwitheverythingonthecheater’scomputer,isnotsecure—notmemory,notfiles,notdevicesandnetworks• Obscurityisnotsecurity• Anycommunicationoveranopenlineissubjecttointerception,analysisandmodification• Thereisnosuchthingasaharmlesscheat• Trustintheserveriseverythinginclient-servergames• Honestplayerswouldlikethegametotipthemofftocheaters

Page 9: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Networkgamemodels

• Clientserver• Clientsoftware• Serversoftware

• Peertopeer• Identicalvs.differentclients• Withorwithoutlockstep

• Question• Howiscomputationshared?

https://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking

Page 10: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Cheatingattacks• ReflexAugmentation:Improvephysicalperformance,suchasthefiringrateoraiming• InformationExposure:Clientsobtain/modifyinformationthatshouldbehidden.• Protocolcheats:Clientscaptureandmodifyordelaypackets• AuthoritativeClients:Althoughtheservershouldhavefullauthority,someonlinegamesgrantclientsauthorityovergameexecutionforthesakeofefficiency.Cheatersthenmodifytheclientsoftware.• Compromisedservers:Ahackedserverthatbiasesgame-playtowardsthegroupthatknowsofthehacks.• BugsandDesignLoopholes:Bugsanddesignflawsinthegameareexploited.InfrastructureWeaknesses:Differencesorproblemswiththeoperatingsystemornetworkenvironmentareexploited.

• https://en.wikipedia.org/wiki/Cheating_in_online_games

Page 11: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

ReflexAugmentation

• Enhanceclientsoftware• Externallycapturepackets• Modifyclientcode

• Aimbot• Reflexenhancer• Howdetect?

Page 12: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

ReflexAugmentation

• Enhanceclientsoftware• Externallycapturepackets• Modifyclientcode

• Aimbot• Reflexenhancer• Howdetect?• Checkclientexecutable• Analyzepackettraffic

Page 13: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

InformationExposure

• Accessanduseinformationnotentitledto• Infrastructure-levelcheats

• Whatmightacheatuse?

Page 14: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

InformationExposure

• Accessanduseinformationnotentitledto

• Whatmightacheatuse?• Keyvariables• Graphicshacks• Itemproperties• Physicsbehavior• Time(speedhack)• Ghosting

Page 15: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Keyvariables

• Lives,strength,health,etc.• Youhavetheexecutable– howfindthesevariables?

Page 16: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Keyvariables

• Lives,strength,health,etc.• Youhavetheexecutable– howfindthesevariables?

• Runprogram.• Ifnum_lives=5,searchforlocationswith5• Getkilled,findonethatjustdecreased

• Howprevent?

Page 17: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Keyvariables

• Lives,strength,health,etc.• Youhavetheexecutable– howfindthesevariables?

• Runprogram.• Ifnum_lives=5,searchforlocationswith5• Getkilled,findonethatjustdecreased

• Howprevent?• Encryptorprotectkeyvariables

Page 18: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Graphicshacks(removalofgameelements)

• Changelocalgraphicsrendering• Turnoffrenderingelements• Eliminatefog,walls,etc

Page 19: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Itemhacks

• Modifyitemproperties• Firingrate,accuracy,portionaction,itemfrequency

Page 20: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Physicsandspeedhacks

• Changecolliderbehavior• Changephysicsenginebehavior

• Controlgameclock

Page 21: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Ghosting

• Cooperationbetweentwoplayers• Onerunsasspectator• Informsactualplayeroflocationofotherplayers,etc

Page 22: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Protocolcheats

• Interferewithnetworkpackets• Packetsmaybeinserted,destroyed,duplicated,ormodified

• Suppressedupdate:• Acceptopponentpackets,suppressown,togetadvantage• Usesserverpolicyofinterpolatingandbackwinding• Preventbymonitoringpatternsofpacketdelay

Page 23: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Protocolcheats

• Interferewithnetworkpackets• Packetsmaybeinserted,destroyed,duplicated,ormodified

• Suppressedupdate:• Acceptopponentpackets,suppressown,togetadvantage• Usesserverpolicyofinterpolatingandbackwinding• Preventbymonitoringpatternsofpacketdelay

• Fixeddelay:• Delayallpackets• Localplayersseeinfofaster• Preventbylockstep,analysis,slidingpipelines

Page 24: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

Protocolcheats

• Interferewithnetworkpackets• Packetsmaybeinserted,destroyed,duplicated,ormodified

• Inconsistency:corruptpackets• Time-stamp:postdatepackets• Spoofing:sentoutpacketsmasqueradingasotherplayer

Page 25: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

DetectingCheating

• Signaturedetection- Detectingofcertainpatternsofbytesinmemory,checkedagainstadatabase(whitelist)• Heuristicanalysis- Statisticalanalysisofbehavior• Userreports- Informationprovidedbyotherusers

Page 26: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information

• 1.Metricsforbestpathonmap• 2.Navmesh process(R_D_Palgorithm,triangulation)

• 3.Walkableterrain• 4.Findpathsontriangulatedspace• 5.Configurationspaces• 6.Qualityofpath• 7.C-obstacles• 8.Minkowski sums• 9.Navmesh - grid,mulitresolution grid• 10.Visibilitygraph• 11.Medialaxis• 12.Randomizedplacement• 13.Rapidly-expandedRandomTrees(RRTs)• 14.L-systemplusturtle• 15.Fractaldimension

• 16.Randomizedand3DL-systems• 17.Particlesystems• 18.Flocking• 19.Mandelbrotsets• 20.Constructivesolidgeometry• 21.Shadingequation• 22.Bumpmapping• 23.Polygonalmeshes- basics,Euler'sformula

• 24.DECLdatastructures• 25.Perlinnoise• 26.A*• 27.Admissibleheuristic• 28.Multiplayercheatingattacks• 29.Forbiddenvelocitiesforcrowdmotion• 30.Fittingcubiccurvestodatapoints

Page 27: Preventing multiplayer cheating - UMD · 2019. 5. 1. · Cheating attacks • Reflex Augmentation: Improve physical performance, such as the firing rate or aiming • Information