﻿1
00:00:00,010 --> 00:00:01,720
Okay, let's get things set up.

2
00:00:02,130 --> 00:00:04,580
Now I've got my VM workstation player open.

3
00:00:05,170 --> 00:00:06,980
I actually use VMware Pro.

4
00:00:07,370 --> 00:00:09,140
So I'm using an older version of VMware

5
00:00:09,150 --> 00:00:11,860
Player, it should look pretty much the same.

6
00:00:12,330 --> 00:00:13,560
What you're going to do is you're going

7
00:00:13,570 --> 00:00:16,700
to say, hey, I want to open a virtual
machine, because this is actually going

8
00:00:16,710 --> 00:00:18,440
to be an existing virtual machine.

9
00:00:18,650 --> 00:00:19,780
So we're going to go ahead and just say

10
00:00:19,790 --> 00:00:20,340
open one.

11
00:00:20,690 --> 00:00:22,340
Okay, and then I have a Kali folder right here.

12
00:00:22,350 --> 00:00:24,420
So I'm just going to click into this Kali folder.

13
00:00:24,630 --> 00:00:26,700
Remember, we were supposed to extract our zip.

14
00:00:27,270 --> 00:00:30,540
So I come in here and I open this and
it's going to start opening this here.

15
00:00:30,850 --> 00:00:34,340
So now we have the ability to go in and
edit our virtual machine settings.

16
00:00:34,430 --> 00:00:35,960
This is going to be true for both.

17
00:00:36,110 --> 00:00:37,640
I'm going to just kind of show you as I go.

18
00:00:37,790 --> 00:00:38,940
So here, it's the same concept.

19
00:00:39,210 --> 00:00:41,200
I didn't download one for VirtualBox, but

20
00:00:41,210 --> 00:00:43,040
you would just hit add and add your machine.

21
00:00:43,850 --> 00:00:45,580
And then once your machine is added,

22
00:00:45,750 --> 00:00:47,260
we're going to go ahead and edit the settings.

23
00:00:47,350 --> 00:00:49,420
So we'd go edit virtual machine settings here.

24
00:00:49,930 --> 00:00:52,820
And then same thing on here, I've got
tails right here, but we could just right

25
00:00:52,830 --> 00:00:57,960
click and say, hey, settings, same
concept, okay, what we want to focus on

26
00:00:57,970 --> 00:01:00,000
are two things, we want to focus on memory.

27
00:01:00,310 --> 00:01:02,040
So depending on how much memory your

28
00:01:02,050 --> 00:01:05,740
device has, for example, I have a lot of
memory on my computer, I have something

29
00:01:05,750 --> 00:01:10,220
like 500 plus gigabytes of memory, you
probably don't have that.

30
00:01:10,450 --> 00:01:14,160
But if you have eight gigabytes of
memory, maybe you only allocate two

31
00:01:14,170 --> 00:01:18,540
gigabytes, if you have 16, maybe you come
in here and you allocate four, if you've

32
00:01:18,550 --> 00:01:22,220
got 32, maybe you allocate eight, okay,
I'll let you choose how much memory you

33
00:01:22,230 --> 00:01:22,880
want to allocate.

34
00:01:23,150 --> 00:01:24,740
But the more memory you allocate, the

35
00:01:24,750 --> 00:01:27,960
slower your actual machine is going to go
because this is going to be eating up a

36
00:01:27,970 --> 00:01:28,620
lot of resources.

37
00:01:29,010 --> 00:01:30,660
And the less you allocate to your virtual

38
00:01:30,670 --> 00:01:32,700
machine, the slower your virtual machine
is going to go.

39
00:01:32,790 --> 00:01:34,880
So you want to make sure that you find
that balance there.

40
00:01:35,290 --> 00:01:38,500
I'm going to give it eight because I have
enough memory here, I can give it as much

41
00:01:38,510 --> 00:01:39,220
as I really want.

42
00:01:39,410 --> 00:01:40,880
But doesn't matter, eight should be

43
00:01:40,890 --> 00:01:44,640
plenty to it will be okay, it'll be a
little bit slow doesn't really matter too much.

44
00:01:45,090 --> 00:01:48,860
Now the other thing we want to concern
ourselves with is this network adapter here.

45
00:01:49,550 --> 00:01:53,760
I like to go if I'm only running one
machine, we can do bridge mode or NAT

46
00:01:53,770 --> 00:01:57,660
mode, I prefer to do NAT, sometimes NAT
does not work.

47
00:01:58,110 --> 00:02:01,760
Okay, so if NAT does not work, that's
okay, we'll figure it out.

48
00:02:01,910 --> 00:02:03,580
But you can always try bridge.

49
00:02:03,670 --> 00:02:04,940
So the first thing I want you to do is

50
00:02:04,950 --> 00:02:09,380
NAT, come in here, say okay, and we'll
run this with NAT, I'm going to go ahead

51
00:02:09,390 --> 00:02:10,680
and say play virtual machine.

52
00:02:11,130 --> 00:02:13,360
On this one, same concept, you can just

53
00:02:13,370 --> 00:02:14,120
click through here.

54
00:02:14,190 --> 00:02:16,420
And it says, Hey, network, for example,

55
00:02:16,610 --> 00:02:18,600
do I want to bridge adapter or NAT adapter?

56
00:02:19,190 --> 00:02:20,460
If you're bridging, what are we bridging

57
00:02:20,470 --> 00:02:21,040
off of?

58
00:02:21,190 --> 00:02:22,780
What adapter here do we want to bridge

59
00:02:22,790 --> 00:02:23,120
off of?

60
00:02:23,190 --> 00:02:24,580
So if you're connected to an ethernet

61
00:02:24,590 --> 00:02:27,680
versus connected to Wi Fi, need to make
that decision.

62
00:02:28,510 --> 00:02:31,600
Same thing if we come in here with
general and system, how much memory do I

63
00:02:31,610 --> 00:02:34,900
want to give this if I'm running this
with VirtualBox?

64
00:02:35,210 --> 00:02:38,440
Okay, so same concept, once you're there,
just go ahead and hit start.

65
00:02:38,830 --> 00:02:39,700
Same idea.

66
00:02:40,370 --> 00:02:42,520
So here we are, we're at the login screen now.

67
00:02:42,750 --> 00:02:44,620
And if you're not here, feel free to just pause.

68
00:02:45,110 --> 00:02:46,560
But once you get to the login screen,

69
00:02:46,690 --> 00:02:49,440
we're just going to come in and type in
the username and password, which is going

70
00:02:49,450 --> 00:02:54,320
to be Kali, K -A -L -I, for both username
and password by default.

71
00:02:54,570 --> 00:02:57,260
I'll also put that in the description
below just in case you need it.

72
00:02:57,710 --> 00:03:00,400
And this will boot up for the first time
for you here.

73
00:03:00,610 --> 00:03:04,460
And you'll get this nice background Kali
Linux, blah, blah, blah, okay.

74
00:03:05,450 --> 00:03:08,200
What you need to do is you can come into
a command prompt.

75
00:03:08,410 --> 00:03:11,300
If this is your first time ever using a
command prompt, that's okay.

76
00:03:11,830 --> 00:03:14,720
What I want to make sure is that we
actually have an IP address, let me make

77
00:03:14,730 --> 00:03:15,660
this even bigger.

78
00:03:16,670 --> 00:03:17,920
And so we can come in here and just say

79
00:03:17,930 --> 00:03:19,800
IPA, just like this.

80
00:03:20,890 --> 00:03:23,180
Okay, and so with IPA, we're just doing

81
00:03:23,190 --> 00:03:26,000
an IP address of all, we're looking at
our IP addresses.

82
00:03:26,610 --> 00:03:29,760
I've got a 192 .168 .138 .144.

83
00:03:29,890 --> 00:03:31,100
That looks good to me.

84
00:03:31,750 --> 00:03:35,780
What we can also do is just go out to the
interwebs and just open up Firefox,

85
00:03:35,930 --> 00:03:36,660
that's right here.

86
00:03:36,910 --> 00:03:39,020
And just try to go to Google, just say

87
00:03:39,030 --> 00:03:41,100
google .com, something like this.

88
00:03:41,690 --> 00:03:43,220
And it should open up Google.

89
00:03:43,430 --> 00:03:46,020
That means we are resolving that's good, right?

90
00:03:46,110 --> 00:03:47,860
We actually are working on our machine,

91
00:03:47,970 --> 00:03:50,220
we're connected to the internet, that's
all we need for right now.

92
00:03:50,770 --> 00:03:52,240
So make sure you're connected to the internet.

93
00:03:52,390 --> 00:03:53,640
If you're not, go ahead and try switching

94
00:03:53,650 --> 00:03:54,420
to bridge mode.

95
00:03:54,510 --> 00:03:56,040
So all you would do is shut this down,

96
00:03:56,530 --> 00:03:58,960
switch to bridge mode, and then power it
back on.

97
00:03:59,210 --> 00:04:00,180
Same concept here.

98
00:04:00,290 --> 00:04:00,480
Okay.

99
00:04:01,150 --> 00:04:04,400
The other thing I want to make you aware
of is sometimes we're going to use what

100
00:04:04,410 --> 00:04:08,200
is called the sudo or sudo command,
depending on how you pronounce it.

101
00:04:08,570 --> 00:04:10,180
I'm a sudo type person.

102
00:04:10,450 --> 00:04:11,940
But let's say you wanted to run a

103
00:04:11,950 --> 00:04:12,920
specific tool.

104
00:04:13,190 --> 00:04:15,080
And a good example of this, actually,

105
00:04:15,130 --> 00:04:18,800
I'll just show you, you do not have to do
this at all, don't have to follow along.

106
00:04:19,190 --> 00:04:22,140
Let's say I want to go to Google, and I
wanted to download a tool, which we might

107
00:04:22,150 --> 00:04:26,940
do in some of the later videos, I might
come in here and there's an awesome tool

108
00:04:26,950 --> 00:04:29,820
called pimp my Kali that is written by DeWalt.

109
00:04:29,850 --> 00:04:31,440
We use this in the practical ethical

110
00:04:31,450 --> 00:04:32,260
hacking course.

111
00:04:32,270 --> 00:04:34,480
So we come here and he's got this awesome

112
00:04:34,490 --> 00:04:36,860
tool that we need to run and we want to
install it.

113
00:04:36,950 --> 00:04:38,440
Well, I want to clone this tool.

114
00:04:39,110 --> 00:04:40,280
So I'm gonna go ahead and copy this.

115
00:04:40,410 --> 00:04:43,240
And if you're not familiar, don't worry,
I'm just showing you the permissions and

116
00:04:43,250 --> 00:04:44,220
how this all works.

117
00:04:44,590 --> 00:04:46,900
I'm going to cd to this opt folder here.

118
00:04:47,070 --> 00:04:48,920
And I'm going to install this tool.

119
00:04:49,250 --> 00:04:51,000
Now to install the tool, I would just say

120
00:04:51,010 --> 00:04:51,640
get clone.

121
00:04:51,950 --> 00:04:53,740
And then in order to download it, I would

122
00:04:53,750 --> 00:04:55,220
just put that link that it gave me.

123
00:04:55,570 --> 00:04:57,940
And it would say, hey, permission denied,

124
00:04:57,970 --> 00:04:59,700
we can't actually do that here.

125
00:05:00,130 --> 00:05:02,080
Well, because I don't have the

126
00:05:02,090 --> 00:05:06,440
permissions, I'm running as a low level
user, I do have what is called sudo permission.

127
00:05:06,690 --> 00:05:08,780
So I can run this as a root user.

128
00:05:08,950 --> 00:05:11,780
So I could say sudo get clone in here and

129
00:05:11,790 --> 00:05:16,360
actually paste this, hit enter and then
type in my password for Kali, which is k

130
00:05:16,370 --> 00:05:18,380
a l i, hit enter.

131
00:05:18,730 --> 00:05:22,220
Okay, and then now if I ls here, and I

132
00:05:22,230 --> 00:05:24,080
look I have a pimp my Kali folder.

133
00:05:24,230 --> 00:05:26,040
So it actually installed it worked, it

134
00:05:26,050 --> 00:05:26,500
did everything.

135
00:05:26,870 --> 00:05:28,560
So you may see me use this command.

136
00:05:28,570 --> 00:05:32,600
And if you're not familiar with Linux,
that's okay, highly recommend that you

137
00:05:32,610 --> 00:05:33,880
check out our Linux course.

138
00:05:34,050 --> 00:05:35,600
Or if you're going through the PMPT or

139
00:05:35,610 --> 00:05:39,240
pjbt, or any of those, you might want to
start with the practical ethical hacking

140
00:05:39,250 --> 00:05:43,580
Linux section first before you just dive
into this if you're very unfamiliar,

141
00:05:43,790 --> 00:05:45,400
you're comfortable, don't worry about that.

142
00:05:45,750 --> 00:05:47,880
Now, this is going to be important

143
00:05:47,890 --> 00:05:50,840
because we're going to need to do this to
install tools, everything else.

144
00:05:51,070 --> 00:05:54,040
One other thing, if we need to switch
user, you shouldn't have to.

145
00:05:54,110 --> 00:05:57,060
But if you need to, just to prove
concept, we could say, hey, I want to

146
00:05:57,070 --> 00:06:01,720
switch user and just do a switch user
dash, that's going to put me into root.

147
00:06:02,290 --> 00:06:02,480
Okay.

148
00:06:03,030 --> 00:06:04,040
And then now I'm root.

149
00:06:04,210 --> 00:06:08,000
And so if I wanted to run a git clone,
again, of that command, I totally could,

150
00:06:08,290 --> 00:06:09,300
I don't need to.

151
00:06:09,430 --> 00:06:10,760
But this is how I would run that elevated

152
00:06:10,770 --> 00:06:11,900
without running the sudo.

153
00:06:12,310 --> 00:06:14,760
My preference is to actually use sudo nowadays.

154
00:06:15,330 --> 00:06:19,720
Back in the day, it used to be that route
was the default login for Kali.

155
00:06:19,870 --> 00:06:24,240
And so a lot of us are backtrack even a
lot of us are used to the route took a

156
00:06:24,250 --> 00:06:28,380
bit to convert over but security best
practice and being a security engineer,

157
00:06:28,930 --> 00:06:30,120
really, we should be using sudo.

158
00:06:30,270 --> 00:06:31,000
So let's do that.

159
00:06:31,130 --> 00:06:31,300
Okay.

160
00:06:31,470 --> 00:06:33,920
And so you can just Ctrl C or just exit out.

161
00:06:34,010 --> 00:06:37,600
And that will exit back here, just exit,
not Ctrl C, sorry.

162
00:06:38,190 --> 00:06:38,360
Excellent.

163
00:06:38,490 --> 00:06:39,820
We'll get you right back to your Kali user.

164
00:06:40,250 --> 00:06:41,840
So that is it for this video.

165
00:06:41,930 --> 00:06:43,160
That's it for this section, we have

166
00:06:43,170 --> 00:06:47,000
successfully installed our Kali Linux,
that's all we needed to do for now.

167
00:06:47,230 --> 00:06:49,400
So the next section, we're going to start
working with this.

168
00:06:49,530 --> 00:06:51,740
Now this is an update, and we're updating
the next section.

169
00:06:51,930 --> 00:06:56,200
So if you're watching this portion of the
course, and the VM looks a little bit

170
00:06:56,210 --> 00:06:59,040
different in some of the later videos
from here, that's just because we're

171
00:06:59,050 --> 00:07:01,000
still in the process of getting this
course updated.

172
00:07:01,610 --> 00:07:06,720
But outside of that you are good to go,
you've got your ready new lab set up and

173
00:07:06,730 --> 00:07:10,380
you should be ready to get on with the
rest of the course and the lab.

174
00:07:10,550 --> 00:07:12,560
So go ahead and see you over in the next video.

175
00:07:12,950 --> 00:07:12,940
Transcribed by https://otter .ai


