Cracking Software with Reverse Engineering šŸ˜³

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all right so today we have this program that needs a name and a register code to be used and we're gonna hack it we're gonna be cracking a program that was made to be cracked legally as a challenge and talking about computers along the way hopefully this video will make sense and be at least a little entertaining but yeah let's head right into it today we're going to be trying to crack this program i guess it's called lafarge and yeah let's just check out what it does so it looks like it asks us for a name and a license key to gain access to the program and let's just try something like nang and don't pick your nose friendly reminder and yeah so it doesn't work uh it also calls us a bad boy for some reason but we can't just take that all right get your uh gamer juice ready your gamer chair reclined and your knuckles cracked because it's hacking time suck so when programmers write software they write it in what's called source code and this is code that humans can understand this source code is pretty much just a list of instructions for the computer it's kind of like when you have a friend and you're reading them instructions on how to build a chair but in this case instead of a friend it's a computer but the computer can't really understand this source code source code is stuff that's way too complicated for the computer to understand because all i can understand is ones and zeros it's like if you tell your friend to now build the leg of the chair but your friend just goes [Music] so instead we have to give the computer simpler instructions like a list of ones and zeros and this is what a compiler does pretty much it breaks down the human written source code into ones and zeros and most of the programs on your computer are in this form of ones and zeros which your computer can understand so if we go back to our program how can we figure out a register code for our username well normally when programs have this in place this is what happens you go on their website give them a username and like 50 bucks or whatever and they'll pass your username through their algorithm to get you a registered code then you take this register code put it into the program and the program will run your username through their algorithm and check if what you gave them matches what's actually correct if they're the same then you're good to go and have access but if they're not the same then they're pretty much gonna tell you to [Ā __Ā ] off so if we give the program nang and don't pick your nose friendly reminder when the register code is actually 1 0 1 0 then it'll tell us that we have the wrong register code but if we give it nang and 1 0 1 0 then i'll check and see that we have the right serial key and let us in but right now i actually don't know what the right serial key is so we won't have access anyways we're trying to crack this program and we can do this with some reverse engineering so remember how we said that programmers write source code that's made into ones and zeros for the computer to understand well there's actually an intermediate step between the two which is called assembly code this is code that's understandable by the computer and kind of understandable to humans because it's really basic but not as bare bones as straight up ones and zeros to go from binary code which is in ones and zeros which we're not going to be able to understand into assembly code which is somewhat understandable we can use a program called a disassembler what a disassembler does is turn binary code into assembly code there's a ton of free disassemblers to use out there but the one that we're going to be using is called x64 dbg so if we just drag the program that we're trying to crack onto here and boom we got some sweet assembly code this can be super intimidating at first i know it definitely was for me but trust me when i say that it's not that bad once you get familiar with it so here we have the assembly code which is just a list of instructions for the computer and here we have what are called registers and you know they're kind of like registered sex offenders like my uncle uh hashtag free uncle kenny but yeah instead of storing little kids these registers store data and the bottom two windows are just the program's memory and they're just chilling out yeah that's about it what we want to do is change the program to give us access even when we're not supposed to have it so when we get the serial key wrong it tells us nope that's not it and causes the bad boy so we can go into the code and check out how we got to this rejection prompt we're gonna look at all the strings or phrases that the program has stored by going into search for all modules and string references we see here that it stores no that's not it and honestly we're already pretty close we can jump to where this phrase is in the program and check the code out yeah okay okay so i took a look at it so that you guys don't have to and let's just walk through what it does so remember that this is just a list of instructions and what it does is compare what's at memory spot four zero six five four nine and memory spot four zero six nine four nine this is comparing the correct register key with the register key that we gave it and if they're the same then it's going to jump to the instruction that lets us in if they're not the same then it's going to jump to the instruction that doesn't let us in so instead what we want to do is change his instruction to always jump to the instruction that lets us in we can do this by changing the jump if not equal to always jump to spot zero zero four one two b e which is the instruction that's gonna let us in and then what we can do is save this new version of the program or our cracked version and try it out [Music] okay so let's see if this works yay yeah so pretty much it works and this is a cracked version of the program where we change the actual instructions to let us in but you know on this channel we always gotta get good so how can we make this better well we would have to make a key gen or a key generator to make this work and yeah let's do it if we look at the original program it compares the correct key with the key that we give it but the correct key is stored at memory spot 406 949 and to be honest uh it could be either 406 549 or 406 949 i don't really know but we're just gonna go ahead and try 406 949 and so we have the correct register code at this memory so instead of printing out the phrase you know bad boy and nope this is not correct instead let's print out the correct key or whatever is that memory four zero [Ā __Ā ] what was it it was four zero six nine four nine then we can just save this as a new executable program and try it out and [Ā __Ā ] yeah this is the key that we tried which is not what we want but it's really no big deal because we can just print out what was at the other memory spot and yeah just like that now if you put in your username you'll get the correct register key back we just made a program that generates a valid key for any username so we solved this challenge and now if anybody wanted to use this program and get access they can do it without having to use a cracked version because they can just use this keygen [Applause] all right guys so that brings us to the end of this week's video if you guys want to try out any of the challenge programs you guys can check out this website called crackmees.one and it's pretty much just a website where people make these programs to be cracked and yeah they just post it there and yeah hopefully this video made sense if you guys liked it you guys can like comment and subscribe and also you guys can hit me up on my instagram it's at not nay all right that's about it i hope you guys have a great day and i'll see you guys next time peace are you kidding no i'm not i just got the video and put it on my watch yet i can drop a milligram pop it on a stock but i'd rather be a dick throw it up and make them watch are you kidding no i'm not moving through your city with my coffee and a glide [Ā __Ā ] ask me
Info
Channel: nang
Views: 1,617,763
Rating: undefined out of 5
Keywords:
Id: Wbm-a-7zc4g
Channel Id: undefined
Length: 8min 1sec (481 seconds)
Published: Thu Feb 03 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.