Reverse Engineering hidden game cheat codes [Game Hacking 101]

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024
  • Reverse Engineering the classic real time strategy game Age of Empires to understand how hacking functions have been implemented by game developers. Once we understand the hacks, we can binary patch the game and directly implement them too.
    🎮 Game Hacking 101 Playlist ➝ • Game Hacking 101
    👮 Fair use of copyrighted material in the context of Age of Empires (video game); en.wikipedia.o... / en.wikipedia.o...
    🏆 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.

Комментарии • 105

  • @247CTF
    @247CTF  3 года назад +121

    You: I hate this video 😠
    Me: wololololo
    You: I love this video 🤗

  • @InsiderPhD
    @InsiderPhD 3 года назад +44

    I love this, please make the next one soon! I really want to see how you write the exploit

    • @247CTF
      @247CTF  3 года назад +10

      🏗️ Will be finished in a few weeks 🏗️

  • @amfm4087
    @amfm4087 3 года назад +13

    This video proves that sub count is independent of quality

    • @247CTF
      @247CTF  3 года назад +3

      Not sure which way to take this comment 🔥

  • @_amih
    @_amih 3 года назад +2

    Subbed and shared. Quality work, keep them coming!

    • @247CTF
      @247CTF  3 года назад

      Welcome aboard!

  • @harmonyinchaos6381
    @harmonyinchaos6381 Год назад

    thank you for your work mate, really appreciate it! also, your voice is incredibly soothing and perfect for explaining this stuff absolutely lovely

    • @247CTF
      @247CTF  5 месяцев назад

      😂

  • @varshneydevansh
    @varshneydevansh Месяц назад

    I saw Age of Empire and reverse engineering immediately subbed❤

  • @jeanyveso.9645
    @jeanyveso.9645 3 года назад +4

    This is amazing! Thanks for the video. It could be great to do the same for AoE 2 or Empire Earth.

    • @247CTF
      @247CTF  3 года назад +2

      That would be cool!

  • @angryman9333
    @angryman9333 Год назад

    saw Reverse Engineering immediately subbed

  • @draknyte1
    @draknyte1 25 дней назад

    Did anyone ever notice the obfuscated cheats were from the base game? (From ancient memory it seems to align)

  • @augustoflach5090
    @augustoflach5090 4 месяца назад

    Incredible video, congrats

  • @ashishmane15
    @ashishmane15 3 года назад +2

    Reverse engineering love 😍

  • @mohiuddinwaresi6351
    @mohiuddinwaresi6351 4 дня назад

    Bro, how did you manage to put the entire program on a singlr graph? It is no easy task. Please enlighten us

  • @m0rsmordre
    @m0rsmordre 3 года назад +1

    Missed your game hacking videos :(

    • @247CTF
      @247CTF  3 года назад

      New video is in the works on the game's protocol!

  • @eneomaos33
    @eneomaos33 Год назад

    Can you make a video talking about assembly? You explain really well, but I've felt a bit lost.

    • @247CTF
      @247CTF  5 месяцев назад +1

      Don't have the time to make new videos right now, maybe one day!

  • @HK-sw3vi
    @HK-sw3vi 3 года назад

    good shit bro, subbed

  • @QWERTZ-NOOB
    @QWERTZ-NOOB 4 месяца назад

    Very interesting! Maybe you have heard that ubisoft has shut down The Crew 1, an always online racing game that has an integrated offline mode not available for normal players. Could the same or a similar method be used to make this offline mode available?

    • @247CTF
      @247CTF  Месяц назад

      Maybe, depends what is on the server and if any data needs to be pulled down to play

  • @darklord_656
    @darklord_656 3 года назад

    Waiting for more videos from this series

    • @247CTF
      @247CTF  3 года назад

      They are coming!

    • @darklord_656
      @darklord_656 3 года назад

      @@247CTF 😍😍😍🥳🥳🥳👍👍👍

  • @AEGISAOE
    @AEGISAOE Месяц назад +2

    try reverse aegis

  • @ahmedlimam2241
    @ahmedlimam2241 3 года назад

    Such a good video
    Got any good resources to practice reverse engineering for a real world problem? with solution?

    • @247CTF
      @247CTF  3 года назад

      For a real world problem, no. There are a number of channels which reverse malware, could be a good place to start! For CTF style problems, you can try 247CTF.com

  • @Ell1otC4ke
    @Ell1otC4ke 3 года назад +1

    MORE OF GAME HACKING PLEASE!

    • @247CTF
      @247CTF  3 года назад +1

      They're in the pipeline!

  • @ibnsaltus
    @ibnsaltus 3 года назад +2

    if you continue with this pattern, you'll beat live over flow in no time

    • @247CTF
      @247CTF  3 года назад

      Thanks for the support!

  • @Dan-rh8tn
    @Dan-rh8tn 3 года назад

    This is awesome ❤️ Thanks very much

    • @247CTF
      @247CTF  3 года назад +1

      No problem 👍

  • @NoxernPL
    @NoxernPL 11 месяцев назад

    Nice video but I don't understand why the transposition table uses 4 byte values to store 2 char values with 2 null bytes, wouldn't it be easier to use cx instead of using ecx? Also why does the function use both ecx and edx to access these characters when it can be accessed by using cl and ch.
    Is this some form of code obfuscation or just a compiler quirk?

    • @247CTF
      @247CTF  5 месяцев назад

      No idea, maybe the game supports Unicode in messages

  • @maciejszpyra
    @maciejszpyra 3 года назад

    Awesome stuff!!

  • @therokdabatherokdaba9269
    @therokdabatherokdaba9269 3 года назад +1

    LOVE THIS SO MUCHHHHH

  • @CoopPlaysYoutuber
    @CoopPlaysYoutuber 3 года назад

    Very nice video mate keep up the good work , do ya recommend any resources to start learning how to reverse engineering because even so your video overall is well explain and understandable i still need to learn a lot lol

    • @247CTF
      @247CTF  3 года назад +1

      Reverse engineering is hard! I don't know of a single resource.. I suggest getting your hands dirty with some tools. For example, try and emulate what was done in this video and recreate the scripts to reverse the algorithm.

  • @abeard1
    @abeard1 3 года назад

    I love video as well as call music theme in background . Could you give name of track?

    • @247CTF
      @247CTF  3 года назад +1

      The track is from streambeats: ruclips.net/video/BR8HgdmVDwQ/видео.html

  • @kotosif
    @kotosif 3 года назад

    Can you show a bit more on how you use Binary Ninja? Not everyone is super familiar with the tool. Better yet would be to use a free alternative like Ghidra or Cutter

    • @247CTF
      @247CTF  3 года назад

      Binary ninja is free to use (at least it used to be..). In other videos I use ghidra, x64dbg, ollydbg, etc. Unfortunately, there is some assumed knowledge required to follow the content. I might put out more entry level content in the future!

  • @hacklearndaily
    @hacklearndaily 3 года назад

    Please make more.

  • @DudeHugh
    @DudeHugh 3 года назад

    Excellent video

    • @247CTF
      @247CTF  3 года назад

      Glad you liked it!

  • @internationalekookdag2405
    @internationalekookdag2405 3 года назад

    this is kinda hard bro. Could you tell me more abt how u began with reverse engineering and what sources u followed to come to this level?

    • @247CTF
      @247CTF  3 года назад +3

      Agree, reversing is hard! I started learning about reversing by playing CTFs and reading challenge writeups (especially if I couldn't solve the problem). At the end of the day - reversing (for me) translates to a lot of time reading, failing and practicing.

    • @internationalekookdag2405
      @internationalekookdag2405 3 года назад +2

      @@247CTFty i really appreciate this answer. See ya when im a pro ;)

    • @247CTF
      @247CTF  3 года назад +1

      @@internationalekookdag2405 awesome, come back when you are!

    • @lucassteinmetz8168
      @lucassteinmetz8168 9 месяцев назад

      @@internationalekookdag2405 are you a pro yet?

    • @zraie2455
      @zraie2455 7 месяцев назад

      @@internationalekookdag2405where you at now

  • @mrmata7460
    @mrmata7460 Год назад

    yes more thanks bro

  • @redcloak5230
    @redcloak5230 3 года назад

    bro thank you so much I can watch these instead of cs420

    • @247CTF
      @247CTF  3 года назад

      Enjoy!

    • @redcloak5230
      @redcloak5230 3 года назад

      @@247CTF thank you please make more videos

    • @247CTF
      @247CTF  3 года назад

      Will do!

  • @vati1011
    @vati1011 3 года назад

    could you pls share the software whic is used in video? thanks so much.

    • @247CTF
      @247CTF  3 года назад

      What timestamp?

    • @vati1011
      @vati1011 3 года назад

      @@247CTF 6min30s, pls

    • @247CTF
      @247CTF  3 года назад +1

      @@vati1011 binary.ninja/

  • @khandarwilliam5439
    @khandarwilliam5439 3 года назад

    those graphics are nostalgic

  • @norndev
    @norndev 2 года назад

    Is it possible to reverse engineer an old multiplayer game from like 2001 that has been offline for years to be able to bring a multiplayer server back, with little to no documentation?

    • @247CTF
      @247CTF  Год назад +1

      Yes. Sounds like a tonne of work though.

    • @norndev
      @norndev Год назад

      @@247CTF I bet, wouldn't know where to start. So many dead games I'd love to bring back private servers for, for a niche audience obviously.

    • @MichaelPohoreski
      @MichaelPohoreski Год назад

      Which game?

    • @norndev
      @norndev Год назад +1

      @@MichaelPohoreski I have quite a few in mind to be fair. Conquer online is a good old game although I know private servers already exist.

  • @neoXXquick
    @neoXXquick 3 года назад +1

    I love it

  • @akaez2807
    @akaez2807 2 года назад +1

    just wow!!

  • @SkSafowan
    @SkSafowan Год назад

    Bro can you start from start ?
    I only know C++ and Python( a little bit ) what else I need to know ?

    • @247CTF
      @247CTF  Год назад

      If you know C++ and debugging you can follow this video

  • @kritikusi-666
    @kritikusi-666 3 года назад

    What environment are you running this tool?

    • @247CTF
      @247CTF  3 года назад

      Windows XP ☠️

    • @kritikusi-666
      @kritikusi-666 3 года назад

      @@247CTF what is so unique about this OS vs others in terms of running debugging tools that seek offsets?

    • @247CTF
      @247CTF  3 года назад

      Nothing at all, it's just a very old game which I couldn't get to play nice on newer versions of Windows!

    • @kritikusi-666
      @kritikusi-666 3 года назад

      @@247CTF Thank you so much for your answers! I am getting into the debugging world, and always nice too see there is humble folks out there willing to help.

  • @sieutruc
    @sieutruc 3 года назад

    thank for you interesting video, when i did it inversly, i get an error because the dictionary['A'] == dictionary['Q'] == '7868'

    • @247CTF
      @247CTF  3 года назад +1

      Hmm, yes I had the same error in my output too! Must have missed something in the assembly.. The function is kind enough to also encode everything you send it - so if you set a breakpoint on the function you can see what happens as an output when you send "QA" as an input!

  • @TheInnerSession
    @TheInnerSession 18 дней назад

    pretty sure i cant just watch this with zero knowledge on anything lol.

  • @MrDe0
    @MrDe0 3 года назад

    oh yeah, me and this game are in the same age 🤞😹

  • @priyanshukumarpu
    @priyanshukumarpu 3 года назад +1

    We want Moar videos

    • @247CTF
      @247CTF  3 года назад +1

      Will do!

  • @LowLevelLemmy
    @LowLevelLemmy 3 года назад

    I hate this video 😠
    wololololo I love this video 🤗

    • @247CTF
      @247CTF  3 года назад +1

      Wolololol

  • @acborgia1344
    @acborgia1344 3 года назад

    11:04 why is it AUARRY and not QUARRY?

    • @247CTF
      @247CTF  3 года назад +2

      Well spotted! A bug in the deobfuscation script!

  • @GavenYurisich-nu5zn
    @GavenYurisich-nu5zn Год назад

    Team Olin

  • @user-dm1qj8pr6q
    @user-dm1qj8pr6q 3 года назад

    this is capitalism wtf