Reverse Engineering hidden game cheat codes [Game Hacking 101]

Sdílet
Vložit
  • čas přidán 9. 12. 2020
  • 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.org/wiki/File:Ag... / en.wikipedia.org/w/index.php?...
    🏆 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.

Komentáře • 102

  • @247CTF
    @247CTF  Před 3 lety +120

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

  • @amfm4087
    @amfm4087 Před 3 lety +11

    This video proves that sub count is independent of quality

    • @247CTF
      @247CTF  Před 3 lety +3

      Not sure which way to take this comment 🔥

  • @InsiderPhD
    @InsiderPhD Před 3 lety +42

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

    • @247CTF
      @247CTF  Před 3 lety +10

      🏗️ Will be finished in a few weeks 🏗️

  • @varshneydevansh
    @varshneydevansh Před 5 hodinami

    I saw Age of Empire and reverse engineering immediately subbed❤

  • @_amih
    @_amih Před 3 lety +1

    Subbed and shared. Quality work, keep them coming!

  • @harmonyinchaos6381
    @harmonyinchaos6381 Před 11 měsíci

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

  • @jeanyveso.9645
    @jeanyveso.9645 Před 3 lety +4

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

    • @247CTF
      @247CTF  Před 3 lety +2

      That would be cool!

  • @augustoflach5090
    @augustoflach5090 Před 3 měsíci

    Incredible video, congrats

  • @angryman9333
    @angryman9333 Před rokem

    saw Reverse Engineering immediately subbed

  • @HK-sw3vi
    @HK-sw3vi Před 3 lety

    good shit bro, subbed

  • @Dan-rh8tn
    @Dan-rh8tn Před 3 lety

    This is awesome ❤️ Thanks very much

    • @247CTF
      @247CTF  Před 3 lety +1

      No problem 👍

  • @therokdabatherokdaba9269
    @therokdabatherokdaba9269 Před 3 lety +1

    LOVE THIS SO MUCHHHHH

  • @maciejszpyra
    @maciejszpyra Před 3 lety

    Awesome stuff!!

  • @ashishmane15
    @ashishmane15 Před 3 lety +2

    Reverse engineering love 😍

  • @hacklearndaily
    @hacklearndaily Před 3 lety

    Please make more.

  • @mrmata7460
    @mrmata7460 Před rokem

    yes more thanks bro

  • @DudeHugh
    @DudeHugh Před 3 lety

    Excellent video

    • @247CTF
      @247CTF  Před 3 lety

      Glad you liked it!

  • @darklord_656
    @darklord_656 Před 3 lety

    Waiting for more videos from this series

    • @247CTF
      @247CTF  Před 3 lety

      They are coming!

    • @darklord_656
      @darklord_656 Před 3 lety

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

  • @m0rsmordre
    @m0rsmordre Před 2 lety +1

    Missed your game hacking videos :(

    • @247CTF
      @247CTF  Před 2 lety

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

  • @neoXXquick
    @neoXXquick Před 3 lety +1

    I love it

  • @NoxernPL
    @NoxernPL Před 10 měsíci

    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  Před 4 měsíci

      No idea, maybe the game supports Unicode in messages

  • @eneomaos33
    @eneomaos33 Před rokem

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

    • @247CTF
      @247CTF  Před 4 měsíci +1

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

  • @abeard1
    @abeard1 Před 3 lety

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

    • @247CTF
      @247CTF  Před 3 lety +1

      The track is from streambeats: czcams.com/video/BR8HgdmVDwQ/video.html

  • @ahmedlimam2241
    @ahmedlimam2241 Před 3 lety

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

    • @247CTF
      @247CTF  Před 3 lety

      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

  • @CoopPlaysYoutuber
    @CoopPlaysYoutuber Před 3 lety

    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  Před 3 lety +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.

  • @akaez2807
    @akaez2807 Před 2 lety +1

    just wow!!

  • @kotosif
    @kotosif Před 3 lety

    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  Před 3 lety

      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!

  • @Ell1otC4ke
    @Ell1otC4ke Před 3 lety +1

    MORE OF GAME HACKING PLEASE!

    • @247CTF
      @247CTF  Před 3 lety +1

      They're in the pipeline!

  • @QWERTZ-NOOB
    @QWERTZ-NOOB Před 3 měsíci

    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  Před dnem

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

  • @AEGISAOE
    @AEGISAOE Před 4 dny +2

    try reverse aegis

  • @SkSafowan
    @SkSafowan Před rokem

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

    • @247CTF
      @247CTF  Před rokem

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

  • @norndev
    @norndev Před rokem

    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  Před rokem +1

      Yes. Sounds like a tonne of work though.

    • @norndev
      @norndev Před rokem

      @@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 Před rokem

      Which game?

    • @norndev
      @norndev Před rokem +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.

  • @vati1011
    @vati1011 Před 3 lety

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

    • @247CTF
      @247CTF  Před 3 lety

      What timestamp?

    • @vati1011
      @vati1011 Před 3 lety

      @@247CTF 6min30s, pls

    • @247CTF
      @247CTF  Před 3 lety +1

      @@vati1011 binary.ninja/

  • @ibnsaltus
    @ibnsaltus Před 3 lety +2

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

    • @247CTF
      @247CTF  Před 3 lety

      Thanks for the support!

  • @sieutruc
    @sieutruc Před 3 lety

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

    • @247CTF
      @247CTF  Před 3 lety +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!

  • @redcloak5230
    @redcloak5230 Před 3 lety

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

  • @kritikusi-666
    @kritikusi-666 Před 3 lety

    What environment are you running this tool?

    • @247CTF
      @247CTF  Před 3 lety

      Windows XP ☠️

    • @kritikusi-666
      @kritikusi-666 Před 3 lety

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

    • @247CTF
      @247CTF  Před 3 lety

      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 Před 3 lety

      @@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.

  • @internationalekookdag2405

    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  Před 3 lety +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 Před 3 lety +2

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

    • @247CTF
      @247CTF  Před 3 lety +1

      @@internationalekookdag2405 awesome, come back when you are!

    • @lucassteinmetz8168
      @lucassteinmetz8168 Před 8 měsíci

      @@internationalekookdag2405 are you a pro yet?

    • @zraie2455
      @zraie2455 Před 5 měsíci

      @@internationalekookdag2405where you at now

  • @khandarwilliam5439
    @khandarwilliam5439 Před 3 lety

    those graphics are nostalgic

  • @MrDe0
    @MrDe0 Před 3 lety

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

  • @priyanshukumarpu
    @priyanshukumarpu Před 3 lety +1

    We want Moar videos

  • @LowLevelLemmy
    @LowLevelLemmy Před 3 lety

    I hate this video 😠
    wololololo I love this video 🤗

  • @acborgia1344
    @acborgia1344 Před 3 lety

    11:04 why is it AUARRY and not QUARRY?

    • @247CTF
      @247CTF  Před 3 lety +2

      Well spotted! A bug in the deobfuscation script!

  • @GavenYurisich-nu5zn
    @GavenYurisich-nu5zn Před rokem

    Team Olin

  • @user-dm1qj8pr6q
    @user-dm1qj8pr6q Před 3 lety

    this is capitalism wtf