# 17.5 Cryptography Lab Instructions Part 1

Video Activity
Join over 3 million cybersecurity professionals advancing their career
or

Time
19 hours 55 minutes
Difficulty
Intermediate
CEU/CPE
23
Video Transcription
00:01
I welcome back to the course. So we just wrapped up our module on cryptography so much of 17
00:06
but on our digital forensics hat, and then we're gonna analyze a couple of photos to see visual differences. Now, we're gonna use a return also has calculator.
00:15
And the main requirement for this lab is you need a Windows environments whether you do that through the cyber lab environment or if you have a Windows machine of you have a virtual windows machine set up, and that's the preference either one of those is gonna work for You just need a window's environment for these particular tools.
00:32
So a quick pre assessment,
00:34
we're gonna go ahead and just get that knocked out of the way, and then we'll get on with our lab.
00:37
So question number one water hashes. So, which which one of these are They are the two way are the four way Are they one way? Are they eight ways?
00:47
If you guessed? Answer. See, You're correct. Hashes are one way functions.
00:51
So question number two passes could be used to do what?
00:57
All right. If you guessed a you're absolutely correct. Hashes could be used to verify file integrity, and that's kind of the main reason behind. So, for example, when you download a file, if you can pull a hash of the the websites giving you a hash saying yes, this is what the original file's hash is, and then you compare it to the download you got and those match up. You're good to go
01:15
if they don't match up than that usually means something's been altered, whether it's nefarious or not. But something's been altered in it.
01:23
So again, a hash is just unique numerical string that's created by hashing algorithm and it's used verified data integrity.
01:30
So in part, one of this lab wanna download a couple of tools that we're gonna use in the lab and part two, we're gonna get everything set up as faras photos. And then again in Part three, we're gonna actually analyze the photos. So let's go ahead and get started.
01:42
So you're a pardonable one winter installs tool. So we've logged into our Windows machine, and we're gonna open a Web browser already have Google Chrome opened here, and you can use whichever Web browser you want to.
01:53
So next we're gonna search for hashtag first, that'll be the first tool we go get. So let's go and do that. We're gonna type in hash Coke altogether,
02:00
then just hit the enter key.
02:01
So it's gonna be this top one or somewhere near the top. Here is gonna be Slava soft. That's gonna be the link you want and you'll see in the lab document here. I have that length for you. So you can also just click on that if you want to. If you're working on your local machine
02:14
so we're gonna go ahead and click on that website,
02:16
gonna pull out up for us here, and we're gonna click on the downloads link right at the top here. So let's go ahead and do that.
02:23
So the next step of her lab after we click on downloads, we want to screw on the page until we actually get to the free software download section, and then we're going to see the hash Coke that we want. So let's go and do that. So we're just gonna scroll down and we actually want to scroll too far. It's right here.
02:38
Once we find it, we're just gonna cook the download link there and it's going to start down there to get for us.
02:42
02:46
So all we're gonna do once the downloads as it file, we're gonna select the show and folder option that we're just gonna right click on that
02:52
particular file and extract the files.
02:54
So let's go ahead and do that. We're just gonna click in here and then Chauhan folder
02:59
Next, we're going to right click on it and extract the files.
03:05
You see, I've got the wind, Ross. I've got a little different option than you. If you just got regular windows running and you, you'll just right click extracted files and it'll show you the path and everything and extracting for you. So I'm gonna say okay to that There.
03:16
So now you see that it's extracted the hash scalp folder for me.
03:21
So I'm just gonna double click on that and then I'll see a setup file in there. So we're right here in our lab. So we see the hash out folder and now we're double clicked on it. And now we see set up Don t x c.
03:30
So we're gonna go ahead and double click on that.
03:34
And we're going to see the user account control pop up. We're just going to say yes to that. So let's go and do that Now. We're just gonna double click on that.
03:42
We see the USC, we're just gonna click Yes to that.
03:45
And now it's gonna launch a task Elk installation wizard for us.
03:49
So here we are, right here. So now we're gonna click next and then accept the license agreement, and then basically, we're gonna leave all the default settings and click next all the way through until we get to the install button. So let's go and do that. So next
04:00
except the license agreement. You're welcome to read that if you want to,
04:03
they were just gonna click on next and again. We're just keeping all these defaults all the way through. You see, it defaults to create a desktop icon. That's fine with us.
04:11
We're gonna say next and then we'll hear were installed. So let's click on install, and it's gonna go ahead, install the tool for us.
04:17
Step 19 here. We want to actually unchecked. Both of you read me file and the launch Haskell check boxes because we need to go get our other tools. Well,
04:27
so let's unchecked those. And then we're gonna select finish,
04:30
you'll see on my desktop screening arrive hash talc there. I already had it installed. So doesn't create a new shortcut or anything. So I already have hash coke there
04:39
so we can go ahead and closer downloads window. We'll come back for a Web browser. So now let us go back to our search box here, and we'll grab our other tool.
04:46
So we're gonna search for R h X D hex editor. That's what we want. And it's gonna be this link here,
04:55
so H X t
04:57
ex editor. That should pull it up for us. You'll see here. It's a top option there, so I'm just gonna actually x out here to clear out the hash Coke one.
05:04
So his top option Just click on that.
05:09
It's gonna open up that Web page for us, and then we're basically just gonna scroll on the page until we come to the latest version release of this particular tool and for Microsoft windows. So this scroll down here
05:18
school just a little bit further and you'll see here we have the latest version for our version of Windows, which I'm running Windows 10 and basically the later versions. And we see that this is version 2.1, and it was released just a week or two ago from the filming of this video, actually, two weeks ago.
05:34
And so once we find that, we're just gonna click on this download page link right here.
05:39
05:43
Okay, so now we want to click on where says download per https for the English version.
05:48
All right, so we're gonna go ahead. Download that now What? You notice years, it's got the shot. One hash for us. We're gonna check that in just a little bit,
05:55
05:57
It's gonna download the zip file for us. Might take a moment or so. Let's move on to the next step of our lab. So again, I mentioned we see the shot. One hash calculation. We're gonna check that for the downloadable file just to make sure it matches up.
06:10
So this if I was gonna download and then what we're gonna do after we download that we're in a double click on hash Coke the tool we just downloaded and installed. And then we're gonna open that up and we're to compare the hash of the ZIP file we just downloaded with the one that's provided for us on the website.
06:25
So we've
06:27
downloaded that. We're gonna leave that alone for right now. We're gonna come over here to our hash Falcon. Just double click on that.
06:33
Take a moment, so it's gonna open it up for us. Now, don't get don't worry about too much what we're doing here, all we're gonna we're gonna go over this a lot more in detail when we actually do our photos. But go ahead and click these three little dots Here you have your boss's shows find file. Go and click on that,
06:47
and it's gonna give us the downloads link. We want to click on the H X D. Set up. That is it. That's the one. We just download it and then just click on open there.
06:57
And then once we do that, that basically loads the file. We're gonna click on Calculate. So we want to look at this show one right here. And just compare that to what we see on the website here for the English version. So we're gonna compare this one
07:09
to the one we have in our hash calculation. So let's take a look at that. Uncheck that there.
07:15
So see, seven to be eight sees me a 64
07:19
so see seven to be a 64 that matches up so far. So then we have e d 219
07:26
e d 219 That matches up
07:29
E B 80 bc
07:30
e b 80 BC Then we have f 44040 We have f 440 for zero that we have e f 6514
07:42
He f 6514 that we have B 79 a
07:46
be 798 and then we have 1 98 119 d A one So we see the hashes match up. So we know that nothing's happened to this file since has been posted on the Web site so we can go ahead and close our hashtag right now. Now we're gonna go back to H X D, and we're just gonna click on it and say showing folder.
08:03
Okay. So again, we compared our hash is. And we found that Yes, they do match. So what is putting? Yes, there.
08:09
So now we're a step 32. So we with clothes, hash, coke. And then now we've opened the downloads folder where the HX tea set up file is
08:16
So we're gonna do the same thing we're going to right? Click and extract it.
08:20
No, I'm actually gonna extract this to the desktop,
08:24
so I'm gonna right click, and then I'm gonna extract mine. When I do extract files, I'm gonna just navigate to the desktop
08:30
and say, OK,
08:33
so I already got the installer on there, but I'm just going to say yes to go and replace it just so we can walk through that process.
08:39
All right, so let's move on with her lab.
08:41
So now we're gonna double click on the installer for HX D and get that installed. Now it's gonna give us the same USC prompt again. We'll just say yes to that.
08:50
Okay, so just double click on it wherever you have it at,
08:54
and it's gonna give us a USC user account control pop up. We're just going to say yes to that. They're just gonna take us to the installer, so it's gonna give us a pop up asking what language we want first.
09:03
So we're gonna go ahead and choose English. So you see, right here it's Step 37.
09:07
We're gonna choose English, and then just select, okay?
09:11
And it'll actually launched the installer.
09:13
So now we're gonna click on next and then accept license agreement, and then we're gonna basically use the default options all the way through and click next until we get to the select additional task window
09:22
in that one. No, we're just gonna check the box that created that stop short cut. So next
09:28
except the agreement. You're welcome to read through that. If you want to just say next
09:33
next, all the way through here.
09:35
So at this window here, we want to make sure which use created desktop shortcut. Sometimes it'll be checked. Sometimes it won't. So go ahead. Just click next now
09:43
and then just cook the install button that'll start installing it for us.
09:48
All right, So we clicked. Install. Now we want we want to do a similar things we did with hashtag. We want uncheck the view re meet dot text file and also the launch attacks Editor file.
09:56
Let's go ahead and check those,
09:58
and then we're just gonna click on finish. So now we've got it installed. Here we see a shortcut on her desktop.
10:03
All right, so we can close our browser window now. We can also close it. Downloads window if you have that open.
10:09
All right. So you see here, we've got the tools we need to move on to step two of the lap. So again, in this video, we just went over installing the tools we need it. And the next video, we're gonna actually set up the photos that you need for the lab and then send us part three word and go ahead and actually analyze those photos.
Up Next
Penetration Testing and Ethical Hacking

Do you like breaking things or figuring out how things work? Join thousands of professionals who’ve entered the information security field by taking this class. Taking this ethical hacking course will give you the skills needed to become a professional penetration tester and prepare you for industry certifications, like the CEH.

Instructed By