Memory Scanning & Resource Hacking with Cheat Engine [Game Hacking 101]

  Рет қаралды 22,205

247CTF

247CTF

3 жыл бұрын

Learn to influence how Age of Empires works by directly finding and modifying data in the process memory by making use of Cheat Engine.
If we can find a pointer to the base address of the player object in memory, we can then dereference and follow that pointer, then once we have the dynamic location, we can follow offsets from that dynamic base address to find and modify the player's resources - an infinite resource cheat.
🎮 Game Hacking 101 Playlist ➝ • Game Hacking 101
👮 Fair use of copyrighted material in the context of Age of Empires (video game); en.wikipedia.org/wiki/File:Ag... / en.wikipedia.org/w/index.php?... and Counter Strike (video game); store.steampowered.com/app/24...
⛔ Material presented for offline learning purposes only. No content regarding modern online games or detection bypass techniques will be discussed.
🏆 The 247CTF channel is dedicated to teaching Capture The Flag fundamentals. If you want to improve your technical skills and succeed in Capture The Flag competitions, make sure to subscribe!
🏁 The 247CTF is a free Capture The Flag learning environment where you can improve your technical skills by solving challenges and recovering flags. You can join now for free at 247CTF.com/.
📺 Subscribe for more Capture The Flag videos!
🏆 Solve CTF Challenges ➝ 247CTF.com/
🐦Stay up to date ➝ / 247ctf
🥰 Support the 247CTF ➝ / 247ctf
💬 Discuss and learn ➝ / discord
📌Free flag ➝ 247CTF{9719c5ddf317154473d334f47a77ac6a}
📝 Icons made by Freepik & Monkik from Flaticon.com
🚨 247CTF’s channel videos are intended for educational purposes only. Methods and techniques discussed are not to be used for illegal activities against unauthorised systems.

Пікірлер: 41
@247CTF
@247CTF 3 жыл бұрын
💰💰💰 The infinite wololololo army cannot be stopped 💰💰💰
@surrenderfleet
@surrenderfleet 3 жыл бұрын
Reminds me of the old action replay cards - you'd use a "trainer" program to find all the memory locations that had changed between two known values (i.e. starting ammo and final ammo) then use the card to manipulate those memory locations (e.g. lock the value in so that you'd have infinite ammo)
@247CTF
@247CTF 3 жыл бұрын
Very cool, TIL. But yes exactly the same idea. Cheat Engine also has that capability to lock the value if you press the 'X' in the far left of your cheat table.
@surrenderfleet
@surrenderfleet 3 жыл бұрын
@@247CTF very cool video series btw - keep it up!
@247CTF
@247CTF 3 жыл бұрын
Will do!
@jeffreyburnwood8084
@jeffreyburnwood8084 Жыл бұрын
Thank you for this video. It worked for Conquest Frontier Wars, in a different way though, it showed me the .DLL that were being edited :D Thank you for this tutorial :)
@DoctorMGL
@DoctorMGL Жыл бұрын
every time i enter one of your videos you start it by saying "in the previous video we did this..." how many previous video i need to watch to grasp this 🤣
@247CTF
@247CTF Жыл бұрын
Fyi the game hacking playlist is ordered
@chichkoliobopitko894
@chichkoliobopitko894 2 жыл бұрын
Great vid. I hope I can find one for finding team flags in these games. Some are really hard to find in assembly.
@247CTF
@247CTF 2 жыл бұрын
What do you mean by team flags?
@chichkoliobopitko894
@chichkoliobopitko894 2 жыл бұрын
​ @247CTF I mean the flag that tells the game if you're the player or an enemy. I doubt that it would be worth a whole video, but there are some games like "Realpolitiks" 2, "8-bit armies" or I think even "Age of empires" 3, where that flag is really though to find. It's not obfuscated. It's just that, since every player uses the same functions in the same way, the devs decide to drop that check, so if you want to distinguish e.g. does a player deal damage to the AI or an AI to the player, you can't, because the teams flag is not included in the dealDamage call as parameter. If you read that far, thanks. It might be a cool idea to make a video of how you find the function that tells them apart, but it will be a bit more advanced than this one. I'm using cheat engine every day for the last year and I'm still not sure how to go about it, but if you can, I'd be happy to see it in a video. I can even donate $25 for the effort. Let me know if you're interested. Thanks again.
@rebmetpes36
@rebmetpes36 3 жыл бұрын
This is awesome!
@247CTF
@247CTF 3 жыл бұрын
🔥
@Luca-pd6bq
@Luca-pd6bq 2 жыл бұрын
May I ask how you installed CE? I tried versions 7.3 and 7.2 and both made Windows Defender react to them. I'm kind of afraid since one one side people say it should react (which makes kind of sense) but others say it shouldn't. So did your AntiVirus go off. Great video by the way!
@247CTF
@247CTF 2 жыл бұрын
If you download the binaries from the official source you *should* be fine. Defender probably classifies it as a hacking tool, which it is 😎
@haloxz2
@haloxz2 Жыл бұрын
great job and expliccation bro, something for reveal map ?
@247CTF
@247CTF Жыл бұрын
It's in the game hacking playlist
@ucanh8173
@ucanh8173 Жыл бұрын
I have a question : Why after the first pointermap scan , you cant locate the dynamic address and its value until the second one
@247CTF
@247CTF 3 ай бұрын
It's probably there, but harder to see - since lots of places have the same value we are after. The more you can refine and perform more scans, the more likely to find the real value you care about.
@johnkeo358
@johnkeo358 5 ай бұрын
I'm having issues trying to find the value for a timer. For example, I'm playing the combat mission series. I want to find the timer for how long it takes for artillery shells to fire. I can easily find the address to modify the amount of ammunition I have but I'm having issues finding the address that relates to how long it takes for the ammunition to fire. It has a 9 minute timer but I'd like to change it to 1. I've tried searching for 9 and trying to find it while it's counting down but no luck. How would you approach this scenario?
@247CTF
@247CTF 3 ай бұрын
Trial and error - especially on the data type used to store the timer data. It might be stored in seconds for example, not minutes.
@doctorpropain8902
@doctorpropain8902 3 жыл бұрын
It's a little counter-intuitive to me that the food value is stored as a float. In game, it's displayed as an integer. How did you know to set the data type to float and not some integral type?
@247CTF
@247CTF 3 жыл бұрын
Good question, I agree and I'm not sure! When I can't find the value I am looking for in Cheat Engine, I usually just brute force the type until I do!
@redcloak5230
@redcloak5230 3 жыл бұрын
cs420 serious has a video on it I recommend you watch cs420 lol
@jassimsalam
@jassimsalam 2 жыл бұрын
Resource values are actually float type. But when displayed, they're rounded down to the nearest integer value, for better readability.
@ChiChi-li3xn
@ChiChi-li3xn 12 күн бұрын
Thankyou for this video, very interested! Can you show me step by step when get Address of resources ingame to value base address 0x001830F4 of memory_ptr resource_hack_ptr param in code, and the offsets. In video you talk and action to fast, i can't follow. I'm newbie for this technology, and i want to practice with this game, I want get some info ingame some thing like player's civil, total gold corrected, kill/losses, win/lose ... can you give some advice? thank in advance, and sorry for my poor English!
@maximustheminer
@maximustheminer 3 жыл бұрын
Memory hacking in next level baddass
@247CTF
@247CTF 3 жыл бұрын
Multilevel->badass
@deepdivedelight
@deepdivedelight 6 ай бұрын
dud, we were doing this on Atari back in 1987!!
@tommyjefferson2955
@tommyjefferson2955 2 ай бұрын
Age of mythology resources doesnt work the same with resources. Can you explain why? For example, if i have 250 and change to 200, it wont show up.
@247CTF
@247CTF Ай бұрын
They might be using a different representation for the value, or it could be being masked / obfuscated (to prevent exactly what you are trying to do).
@dragosmini3931
@dragosmini3931 2 жыл бұрын
Try governor of poker please 🙏
@247CTF
@247CTF 2 жыл бұрын
💀
@realdotty5356
@realdotty5356 10 ай бұрын
How can I get this game? I’d like to follow along
@247CTF
@247CTF 3 ай бұрын
This same version, I don't know.. You could try assuaultcube and apply similar techniques
@realdotty5356
@realdotty5356 3 ай бұрын
@@247CTF do you plan on making more game hacking videos?
@AbdulHannanAbdulMatheen
@AbdulHannanAbdulMatheen Жыл бұрын
👏🙂
@247CTF
@247CTF Жыл бұрын
💪
@NotXboxiie
@NotXboxiie 3 жыл бұрын
u lost me at 8:00 but all good!
@247CTF
@247CTF 3 жыл бұрын
Start from the beginning of the series for context!
@RealisticVoiceRecapped
@RealisticVoiceRecapped 2 жыл бұрын
@@247CTF no addresses and Values show up HELP!!
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 123 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 29 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
AoE1 vs AoE2 Cheat Code Tournament
12:54
Spirit Of The Law
Рет қаралды 143 М.
Binary patching game cheat codes [Game Hacking 101]
9:29
247CTF
Рет қаралды 15 М.
How I designed Fruit Ninja
22:58
Luke Muscat
Рет қаралды 6 МЛН
HOW TO FIND STATIC ADDRESSES WITH CHEAT ENGINE
6:26
Exploit Academy
Рет қаралды 107 М.
Cheat Engine for Idiots
10:48
Kian Brose
Рет қаралды 1,1 МЛН
Hacking a game with DLL injection [Game Hacking 101]
10:58
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 123 МЛН