Reverse Engineering hidden game cheat codes [Game Hacking 101]

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ธ.ค. 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.

ความคิดเห็น • 98

  • @247CTF
    @247CTF  3 ปีที่แล้ว +110

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

    • @MeariBamu
      @MeariBamu 3 ปีที่แล้ว

      Can this work for codemeter protect software?

    • @alexandermorozov8593
      @alexandermorozov8593 9 หลายเดือนก่อน

      Ucluma?

  • @InsiderPhD
    @InsiderPhD 3 ปีที่แล้ว +41

    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 🏗️

  • @_amih
    @_amih 3 ปีที่แล้ว +1

    Subbed and shared. Quality work, keep them coming!

    • @247CTF
      @247CTF  3 ปีที่แล้ว

      Welcome aboard!

  • @harmonyinchaos6381
    @harmonyinchaos6381 11 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

      😂

  • @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!

  • @HK-sw3vi
    @HK-sw3vi 3 ปีที่แล้ว

    good shit bro, subbed

  • @augustoflach5090
    @augustoflach5090 3 หลายเดือนก่อน

    Incredible video, congrats

  • @Dan-rh8tn
    @Dan-rh8tn 3 ปีที่แล้ว

    This is awesome ❤️ Thanks very much

    • @247CTF
      @247CTF  3 ปีที่แล้ว +1

      No problem 👍

  • @angryman9333
    @angryman9333 ปีที่แล้ว

    saw Reverse Engineering immediately subbed

  • @therokdabatherokdaba9269
    @therokdabatherokdaba9269 3 ปีที่แล้ว +1

    LOVE THIS SO MUCHHHHH

  • @maciejszpyra
    @maciejszpyra 3 ปีที่แล้ว

    Awesome stuff!!

    • @247CTF
      @247CTF  3 ปีที่แล้ว

      Thanks!

  • @QWERTZ-NOOB
    @QWERTZ-NOOB 2 หลายเดือนก่อน

    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?

  • @hacklearndaily
    @hacklearndaily 3 ปีที่แล้ว

    Please make more.

  • @darklord_656
    @darklord_656 3 ปีที่แล้ว

    Waiting for more videos from this series

    • @247CTF
      @247CTF  3 ปีที่แล้ว

      They are coming!

    • @darklord_656
      @darklord_656 3 ปีที่แล้ว

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

  • @DudeHugh
    @DudeHugh 3 ปีที่แล้ว

    Excellent video

    • @247CTF
      @247CTF  3 ปีที่แล้ว

      Glad you liked it!

  • @m0rsmordre
    @m0rsmordre 2 ปีที่แล้ว +1

    Missed your game hacking videos :(

    • @247CTF
      @247CTF  2 ปีที่แล้ว

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

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

  • @ashishmane15
    @ashishmane15 3 ปีที่แล้ว +1

    Reverse engineering love 😍

  • @mrmata7460
    @mrmata7460 ปีที่แล้ว

    yes more thanks bro

  • @amfm4087
    @amfm4087 3 ปีที่แล้ว +8

    This video proves that sub count is independent of quality

    • @247CTF
      @247CTF  3 ปีที่แล้ว +3

      Not sure which way to take this comment 🔥

  • @neoXXquick
    @neoXXquick 3 ปีที่แล้ว +1

    I love it

  • @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: th-cam.com/video/BR8HgdmVDwQ/w-d-xo.html

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

  • @eneomaos33
    @eneomaos33 11 หลายเดือนก่อน

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

    • @247CTF
      @247CTF  3 หลายเดือนก่อน +1

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

  • @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!

  • @NoxernPL
    @NoxernPL 10 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

      No idea, maybe the game supports Unicode in messages

  • @akaez2807
    @akaez2807 2 ปีที่แล้ว +1

    just wow!!

    • @247CTF
      @247CTF  2 ปีที่แล้ว

      🥳

  • @Ell1otC4ke
    @Ell1otC4ke 3 ปีที่แล้ว

    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!

  • @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!

  • @khandarwilliam5439
    @khandarwilliam5439 3 ปีที่แล้ว

    those graphics are nostalgic

    • @247CTF
      @247CTF  3 ปีที่แล้ว

      wololo

  • @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 7 หลายเดือนก่อน

      @@internationalekookdag2405 are you a pro yet?

    • @zraie2455
      @zraie2455 5 หลายเดือนก่อน

      @@internationalekookdag2405where you at now

  • @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/

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

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

  • @norndev
    @norndev ปีที่แล้ว

    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  ปีที่แล้ว

      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.

  • @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!

  • @MrDe0
    @MrDe0 3 ปีที่แล้ว

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

    • @247CTF
      @247CTF  3 ปีที่แล้ว

      🕹️

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

  • @GavenYurisich-nu5zn
    @GavenYurisich-nu5zn ปีที่แล้ว

    Team Olin

    • @247CTF
      @247CTF  ปีที่แล้ว

      🤖

  • @acborgia1344
    @acborgia1344 3 ปีที่แล้ว

    11:04 why is it AUARRY and not QUARRY?

    • @247CTF
      @247CTF  3 ปีที่แล้ว +2

      Well spotted! A bug in the deobfuscation script!

  • @user-dm1qj8pr6q
    @user-dm1qj8pr6q 3 ปีที่แล้ว

    this is capitalism wtf

    • @247CTF
      @247CTF  3 ปีที่แล้ว +1

      🤑