

















































































Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!


















































































FINDING + EXPLOITING
BACKGROUND
Over a few months I found 10+ remotely exploitable bugs in 2 game engines I’m going to talk about 4 of these bugs (2 per engine)
General understanding is that two engines are the most common: Unreal Engine 4 (Or UE4) Unity If you’re a solo developer or small team, there’s a good chance you’re using Unity If you’re a larger team and haven’t built your own engine, you’re probably using UE
Created by Epic Games Named for its roots in the Unreal series Open source (With licensing restrictions) Notable games: Fortnite PlayerUnknown’s Battlegrounds (PUBG)
UNET is technically deprecated, but Unity Technologies has not released an alternative UNET still receives patches and even occasional new features Encryption API was added post-deprecation A TON of new and existing games use UNET
MULTIPLAYER PROTOCOLS
The evolution of multiplayer architectures has largely focused on two things Increasing performance Moving trust away from the client These are often conflicting goals
One of the oldest and most common types of game hack is manipulating the player’s location In the good old days, player location was trusted to the client Manipulate location client-side and we can teleport
To prevent this type of attack, authority over player location is trusted only to the server Instead, clients can make a request to move the player and the server can update their position accordingly This lead to a new type of attack, Speed Hacking
Speed hacking is prevented by restraining movement server side The server knows what is realistic movement for a given time frame and prevents anything beyond this
REMOTE PROCEDURE CALLS
Remote Procedure Calls are used to call functions on a remote system as if it were local This simplifies things significantly for the developer There’s a lot of complexity that goes into this process on the back-end
OBJECT OWNERSHIP
Multiplayer protocols typically have some concept of ownership Owning an object means having the authority to issue RPCs on that object Each player has ownership over their character and associated subobjects Player A can issues RPCs on Character A, but not Character B
BUG #
UE4 URLS
UE4 uses its own type of "URL" to communicate details between server and client. This includes: Package names (Such as loading maps or other assets) Client information (Player name, how many split-screen players are on one client)