Docsity

Proyecto De como funciona UE4, Guías, Proyectos, Investigaciones de Informática

Vista previa parcial del texto

¡Descarga Proyecto De como funciona UE4 y más Guías, Proyectos, Investigaciones en PDF de Informática solo en Docsity!

BUGS IN MULTIPLAYER GAME ENGINES

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)

GAME

ENGINES

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

UNREAL

ENGINE 4

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

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

MOVEMENT

HACKING

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

MOVEMENT

HACKING

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

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

MULTIPLAYER PROTOCOL BASICS

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

UE4 ARBITRARY FILE ACCESS

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)