Hacker News new | past | comments | ask | show | jobs | submit login
Hacking GTA V RP Servers Using Web Exploitation Techniques (nullpt.rs)
137 points by hazebooth on Aug 29, 2023 | hide | past | favorite | 35 comments



it's nice seeing someone open with telling everyone that GTA V is some of the most poisoned online gameplay with regards to cheating.

I don't agree with the conclusion that it's because it's peer-to-peer. that's not why -- it's because of lazy developer methods and a lower prioritization of security effort.

the biggest genuine effort that Rockstar puts into anti-cheat effort is an occassional memory-structure shuffle to kick sand into cheat-engine users eyes, and the occassional honey-pot that bans a few hundred people -- and these efforts come after begging Rockstar for years to do something, and the most it accomplishes is selling additional copies of the already dirt-cheap game.

These ban cycles and 'enforced ignorance' to the problem nets them more profit than it would otherwise; disenchanted players play less, reducing infrastructure costs -- and banned players buy another 2 dollar copy of the game -- but it kills user experience outside of single player entirely.

They don't care. I get it, but it sucks -- and it's not some GTA6 thing, they never cared.


Yeah, they absolutely don't care. It cannot be hard to detect griefing and obnoxious cheating by just looking at player behavior. How hard can it be to detect 90000000000 in-game dollars to be added to players, how hard can it be to detect that someone is blowing up everyone in the server, ... They just don't care, and it's a shame because GTA V still holds up as a fantastic game even after all these years.


> How hard can it be to detect 90000000000 in-game dollars to be added to players

Don't give them ideas ;) You either get a small loan of a billion dollars from a friendly cheater, or they try to bleed your wallet dry with Shark Cards. Rockstar are incapable of coming up with a balanced and rewarding progression system because it's in direct conflict with their financial goals.


For what it's worth, I used to play GTA online a lot and was getting bored with it. For a last hurrah, I had my account hacked by a friend to give me billions. I bought all the stuff I wanted even though I was told to be careful with buying too much (as if I was money laundering).

I opened it up recently and my money was back to normal. I imagine I did something that got me detected. In all honesty, it was a blessing, because I realized I was only playing the game for the addictive grind and I didn't enjoy the game itself. The online mode is like a second job, and it's exacerbated by the highest rewards being specifically designed to grief new players. Rocket bikes with car seeking missiles really killed the game for me


> as if I was money laundering

Yeah, it's suspected a very common trigger for R*, for whatever reason, is depositing cash into your in-game bank account. You're far less likely to be banned if you only pay in cash.


Sounds exactly like Twitter up to the exit(gotten worse after they took griefing to themselves, tbc).


Rockstar doing something about cheaters on their online experience won't affect a thing for what this post is talking about. The exploit in this post is for FiveM servers, a third-party mod. The interactions on here are not usually peer-to-peer.


R* recently bought FiveM, so it's a bit less third party now.

https://www.polygon.com/23828445/gta-5-mods-roleplay-red-dea...

Maybe they'll do the same as mojang did with bukkit, and leave it out to dry...


>These ban cycles and 'enforced ignorance' to the problem nets them more profit than it would otherwise; disenchanted players play less, reducing infrastructure costs -- and banned players buy another 2 dollar copy of the game -- but it kills user experience outside of single player entirely.

Game devs vehemently deny this but there are games out there with perverse incentives for the game devs regarding cheaters. Escape From Tarkov is another game that is losing many players to the cheater issue while the devs drag their feet addressing the problem, or any problem in that game really. Why would they? Once the devs have legitimate players' money, them playing the game is just costing them money by paying for servers. Banning enough cheaters just frequently enough to buy another copy is how they get recurring revenue. As much as I hate the subscription model taking over everything I think if it was used in games like Tarkov it would be a much better game because it would align incentives to keep players engaged. On the other hand that would probably come with a bunch of dark patterns.

I have a personal conspiracy that Tarkov kept making the early game for new players harder and more insufferable while making the game more easy after you have grinded long enough, (for people like streamers who basically are the advertising) was a decision to get people excited to buy the game watching streamers with their far better experience, then shortly quit by making their experience insufferable.


This post is about private servers using a 3rd party mod called FiveM. How do you expect Rockstar to police them?


True, but the main game is similarly plagued by some of the worst cheats I've ever encountered in an online game and I'm almost certain there are some serious security vulnerabilities to be found there.

I stopped playing when some cheater impersonated me in the game chat and then crashed my game, after I insulted them (mostly out of curiosity to see what else their cheats can do). It's just so far beyond what happens with cheats in other online games. I've also heard of people being followed by cheaters across game sessions and being DDOSed.

The only thing that's similarly bad to the cheats in GTA Online is (the original) Modern Warfare 2 which has had RCEs.


> True, but the main game is similarly plagued by some of the worst cheats I've ever encountered in an online game

Why is it even possible for a player to change the entire map for all players on the server to winter? Why is it even possible to "attach" a helicopter to someone's head? Why is it even possible for players to spontaneously burst into flames, even after dying and respawning?

These are dumbfounding "cheats" that only exist to troll players. I have no idea why the client/server even accepts these environment changes. It seems really easy to prevent...


Because it is a single player game with multiplayer hacked into it.


Rockstar owns FiveM now


Is it possible to automate a process that leads to random memory-structure changes, that could be done regularly? How would that look for developement and debugging


Yes, Roblox does it.


I miss these kinda posts, so rare now.

I know XSS is dying due to CORS and DLL injection is mooted by ALSR, that API's are usually authenticated and authorized, but damn...

I wish there was a more collective place to showcase modern exploits, they just hit nice in the feelies.


CORS doesn't prevent XSS and isn't designed to.


>I know XSS is dying due to CORS

CORS isn't related to XSS. CORS actually isn't a security protection at all. It's a way for web apps to explicitly disable standard protections that browsers apply to enforce same origin policy.

You might be thinking of Content Security Policy (CSP).[0] That's the most effective protection I'm aware of for XSS, but it's not very widely used because so few JavaScript libraries are compatible with it.

[0] https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP


yea, i meant CSP.

>so few JavaScript libraries are compatible with it.

is this because of the 'eval' function specifically, or is there other reasons?


Yeah, eval is the main culprit, but there's also Function, setTimeout, setInterval and friends.[0]

The other gotcha is that with a secure CSP policy, you can no longer do things like <button onclick="handleClick"> because that's inline JS, so that's kind of a bummer.

[0] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co...


I can sorta share this sentiment. Luckily (for us) tech seems to be moving in the direction of embedding Chromium everywhere which always leads to some fun exploits :)


ASLR doesn't stop DLL injection.


I think GP confused DLL injection with return to libc.

I see why; in return to libc, which is prevented by ASLR, you are injecting the control of flow into the middle of a DLL(that DLL is libc). The terminology is a little confusing.


meant hooking functions statically or even dynamically with a minimal amount of codegolf'd asm instructions inserted via buffer overflow, and repairing the stack to sneak by stack smashing detecting, but yea, libc is implied in the linux environment


That was a very nice write-up!


Thank you! Hope to publish more like it soon :)


Looking forward to reading it -- genuine, raw, straight up hacking is almost nostalgic at this point.

wish we could get more bug bounty write up submissions


My friend, you seem genuine in your enthusiasm if a little misinformed, so in the spirit of trying to stoke that rather than smother it, can I gently alert you to the thousands of bug bounty write ups you can read online? A decent place to start is the various H1 Disclosed writeups [0] but there's an avalanche of this sort of content on Medium (most not as well written as OP's, it must be said, but still very technical and detailed.) Good news! The time you're nostalgic for is right now! If people would like to share other blogs below which also post technical writeups for this poster, feel free. I'll throw in another one [1] too.

[0] https://twitter.com/h1disclosed

[1] https://jub0bs.com/posts/


Thank you, this was precisely what I was looking for, as searching for "bug bounty write ups" in the past was more noise than signal; but this is what I wanted, thank you a lot!


A bit off topic but I played a bit of GTA online recently after not playing for years, was really amazed at how little it had developed in terms of core gameplay. Lots of new weapons and vehicles but very little to make a compelling game.


That’s modern gaming now. Once they figured out the concept of the Skinner box it was all downhill

I do wonder if there are statistics on how many of the attempts at creating micro transaction economies fail though. I hope it’s high. I feel like it has to be, but I guess at the same time it’s a question of as long as game sales recoup development costs any micro transaction stuff just needs to cover server and admin costs and then the rest is all profit. But I feel like so many studios go in hoping to recreate Fortnite, Roblox, or gta V and that’s just so unlikely.


They misspelled “amount”

“amountt: $('#transferval').val()”

But great dive into FiveM! Had no idea it came bundled with Vue.


The „good news” is that code injections are still widely popular in a form of supply chain attacks.

And this is also our fault, e.g. due to the explosion of dependency hell in npm libraries.

This is probably the best intro to modern supply chain attacks and detection techniques, just shared with my team this week:

https://youtu.be/3pLfkutz1x8

(edit: removed youtube tracking)


Is this an ad? The video is essentially an ad for the vendor's solution that's unrelated to the original post.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: