Re:What every IT person needs to know about OpenBSD
by bfrog on Sunday July 23, 2023 @10:08AM
(#36835431)
It’s too bad certain games don’t use this idea of random load locations to avoid injections. Seems like most game hacks basically work by reading/manipulating certain memory offsets which contain useful data. Unless I misunderstand them.
[ Parent
| on HN ]
Re:What every IT person needs to know about OpenBSD
by blibble on Sunday July 23, 2023 @11:57AM
(#36836522)
this works against exploits that need that offset pointer to to run any code at all
but doesn't work against something the user is voluntarily injecting as the user is quite happy to run the offset pointer locating code
Re:What every IT person needs to know about OpenBSD
by saagarjha on Sunday July 23, 2023 @01:40PM
(#36837676)
Most games already use this (not as a security feature, but because the OS applies ASLR to them).
Re:What every IT person needs to know about OpenBSD
by deadletters on Sunday July 23, 2023 @03:12PM
(#36838642)
You're right! Moreover that's sort of how all exploits work if you really zoom out.
Re:What every IT person needs to know about OpenBSD
by accrual on Sunday July 23, 2023 @10:25PM
(#36842404)
That's how I used CheatEngine back in the day. You would probe the game's memory looking for a value you can control (like health, item count, etc.) then increment/decrement it in game until you reliably found which location in memory was changing. Then you'd save it with a name and enjoy your cheat.